diff options
author | mh <mh@immerda.ch> | 2015-11-20 22:43:06 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2015-12-05 11:36:31 +0100 |
commit | 220d7af45dc4b1c334e2d3f50f2bc8ab54139093 (patch) | |
tree | 40dbd969522c93e4c1f55f0f1e7b3a6bc0f5b4fa /manifests/extension_script.pp | |
parent | 353492eaa1c9047547b17161df4aa58ea3bf0a87 (diff) | |
download | puppet-shorewall-220d7af45dc4b1c334e2d3f50f2bc8ab54139093.tar.gz puppet-shorewall-220d7af45dc4b1c334e2d3f50f2bc8ab54139093.tar.bz2 |
make service restart more failsafe
Diffstat (limited to 'manifests/extension_script.pp')
-rw-r--r-- | manifests/extension_script.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/extension_script.pp b/manifests/extension_script.pp index 569fcbf..4abc6b1 100644 --- a/manifests/extension_script.pp +++ b/manifests/extension_script.pp @@ -4,7 +4,7 @@ define shorewall::extension_script($script = '') { 'init', 'initdone', 'start', 'started', 'stop', 'stopped', 'clear', 'refresh', 'continue', 'maclog': { file { "/etc/shorewall/puppet/${name}": content => "${script}\n", - notify => Service[shorewall]; + notify => Exec['shorewall_check']; } } '', default: { |