]> WPIA git - infra.git/blobdiff - environments/production/manifests/site.pp
add: systemd module for executing daemon-reload
[infra.git] / environments / production / manifests / site.pp
index 282d200f8ad5e1767e136495d98b758b86c189ee..34e30d095baaffd6c2baee49c3bc0183f8567285 100644 (file)
@@ -31,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']
@@ -99,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',
   }->