]> WPIA git - infra.git/blobdiff - environments/production/manifests/gigi.pp
add: systemd module for executing daemon-reload
[infra.git] / environments / production / manifests / gigi.pp
index 57c602f04854317805fdf5b3bdd5e12fefc10a1f..80bb50a5e50e9457760361838b718be64741dae6 100644 (file)
@@ -124,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']
@@ -184,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'
   } ->