X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=environments%2Fproduction%2Fmanifests%2Fgigi.pp;h=80bb50a5e50e9457760361838b718be64741dae6;hb=f341fae5472513454a68fe882b8800857192261d;hp=14f175b600d7ad96f27ec87d72b7f1ae530cd002;hpb=72f29339c72bb730eb124091f3310616bd78fbce;p=infra.git diff --git a/environments/production/manifests/gigi.pp b/environments/production/manifests/gigi.pp index 14f175b..80bb50a 100644 --- a/environments/production/manifests/gigi.pp +++ b/environments/production/manifests/gigi.pp @@ -19,7 +19,6 @@ node gigi { unless => "/usr/bin/debconf-get-selections | /bin/grep -F '$gigi_translation' | /bin/grep -F '$gigi_pkg/fetch-locales'" } - class{'apt':} apt_key{ 'E643C483A426BB5311D26520A631B6AF9FD3DF94': source => 'http://deb.dogcraft.de/signer.gpg', ensure => 'present' @@ -125,7 +124,7 @@ if $signerLocation == 'self' { require => Exec['apt_update'] } $cass_ip = $ips[cassiopeia] - file {'/etc/systemd/system/tcpserial.service': + systemd::unit_file {'tcpserial.service': ensure => 'file', content => epp('gigi/tcpserial'), require => Package['tcpserial'] @@ -185,7 +184,7 @@ if $signerLocation == 'self' { source => 'puppet:///modules/cassiopeia/signer_client.key' } - file { '/etc/systemd/system/cassiopeia-client.service': + systemd::unit_file { 'cassiopeia-client.service': source => 'puppet:///modules/gigi/cassiopeia-client.service', ensure => 'present' } ->