summaryrefslogtreecommitdiff
path: root/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'puppet')
-rw-r--r--puppet/modules/site_apache/manifests/common/autorestart.pp7
1 files changed, 1 insertions, 6 deletions
diff --git a/puppet/modules/site_apache/manifests/common/autorestart.pp b/puppet/modules/site_apache/manifests/common/autorestart.pp
index aa13d4ef..f8213439 100644
--- a/puppet/modules/site_apache/manifests/common/autorestart.pp
+++ b/puppet/modules/site_apache/manifests/common/autorestart.pp
@@ -3,13 +3,8 @@
#
class site_apache::common::autorestart {
- include ::systemd
- file { '/etc/systemd/system/apache2.service.d/autorestart.conf':
+ ::systemd::unit_file { '/etc/systemd/system/apache2.service.d/autorestart.conf':
source => 'puppet:///modules/site_apache/autorestart.conf',
- owner => 'root',
- group => 'root',
- mode => '0644',
require => Service['apache'],
- notify => Exec['systemctl-daemon-reload']
}
}