summaryrefslogtreecommitdiff
path: root/puppet/modules/site_apache
diff options
context:
space:
mode:
authorTulio Casagrande <tcasagra@thoughtworks.com>2017-01-16 17:24:50 -0200
committervarac <varacanero@zeromail.org>2017-01-18 18:44:21 +0100
commit85d2ae3fca3bc6fca00e9b5bff045e2130fd539c (patch)
tree2946a3f1eb56d8d750782acc0e4a92172e5c0f98 /puppet/modules/site_apache
parent5126584fe40f08b779a6f93e2d1b6b57bae29700 (diff)
Update how exec is run
Diffstat (limited to 'puppet/modules/site_apache')
-rw-r--r--puppet/modules/site_apache/manifests/common/extensions.pp8
1 files changed, 3 insertions, 5 deletions
diff --git a/puppet/modules/site_apache/manifests/common/extensions.pp b/puppet/modules/site_apache/manifests/common/extensions.pp
index ddeafae0..6e489ce8 100644
--- a/puppet/modules/site_apache/manifests/common/extensions.pp
+++ b/puppet/modules/site_apache/manifests/common/extensions.pp
@@ -6,9 +6,7 @@ class site_apache::common::extensions {
owner => 'root',
group => 'root',
mode => '0644',
- require => [
- Service['apache']
- ]
- }~>
- Exec['systemctl-daemon-reload']
+ require => Service['apache'],
+ notify => Exec['systemctl-daemon-reload']
+ }
}