X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=environments%2Fproduction%2Fmanifests%2Fsite.pp;h=4e227820a05d27c138164ab5d4c6d3363f303c17;hb=95266f6237df2334741f3ce60050618259452ed4;hp=92e033744c092caa36dc04838f5851e8b8a6b7d8;hpb=72f29339c72bb730eb124091f3310616bd78fbce;p=infra.git diff --git a/environments/production/manifests/site.pp b/environments/production/manifests/site.pp index 92e0337..4e22782 100644 --- a/environments/production/manifests/site.pp +++ b/environments/production/manifests/site.pp @@ -1,3 +1,10 @@ +class { 'apt': + update => { + frequency => 'daily', + }, +} +Exec["apt_update"] -> Package <| |> + node cassiopeia { include container::contained if $signerLocation == 'self' { @@ -5,9 +12,8 @@ if $signerLocation == 'self' { } else { include container::ssh } - class{'apt':} apt_key{ 'E643C483A426BB5311D26520A631B6AF9FD3DF94': - source => 'http://deb.dogcraft.de/signer.gpg', + source => 'http://deb2.dogcraft.de/signer.gpg', ensure => 'present' } -> file { '/etc/apt/sources.list.d/dogcraft.list': @@ -25,7 +31,7 @@ if $signerLocation == 'self' { require => Exec['apt_update'] } $cass_ip=''; - file {'/etc/systemd/system/tcpserial.service': + systemd::unit_file {'tcpserial.service': ensure => 'file', content => epp('gigi/tcpserial'), require => Package['tcpserial'] @@ -93,7 +99,7 @@ if $signerLocation == 'self' { content => epp('gigi/cassiopeia-client-conf'), } - file {'/etc/systemd/system/cassiopeia-signer.service': + systemd::unit_file {'cassiopeia-signer.service': ensure => 'file', source => 'puppet:///modules/gigi/cassiopeia-signer.service', }->