diff options
author | Tulio Casagrande <tcasagra@thoughtworks.com> | 2017-01-16 17:24:50 -0200 |
---|---|---|
committer | Tulio Casagrande <tcasagra@thoughtworks.com> | 2017-01-17 14:23:19 -0200 |
commit | 6748ba91d4d5fb77bb9034f8fc39e6735e2ef375 (patch) | |
tree | 2946a3f1eb56d8d750782acc0e4a92172e5c0f98 /puppet/modules/site_apache | |
parent | cfd1f9ee35f7b80b17c460b77709d3d5dc880638 (diff) |
Update how exec is run
Diffstat (limited to 'puppet/modules/site_apache')
-rw-r--r-- | puppet/modules/site_apache/manifests/common/extensions.pp | 8 |
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'] + } } |