diff options
author | Micah Anderson <micah@riseup.net> | 2012-06-20 14:20:23 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2012-06-20 14:20:23 -0400 |
commit | 3f8c34e6e72aa4a20ed4042571b83c3a1a05af23 (patch) | |
tree | cdfd3733bc55cf89c0cc5dd4fdea39ee3586b043 | |
parent | d98823a7bdc2c53e87892bf5d366851bd0a82e92 (diff) | |
download | puppet-shorewall-3f8c34e6e72aa4a20ed4042571b83c3a1a05af23.tar.gz puppet-shorewall-3f8c34e6e72aa4a20ed4042571b83c3a1a05af23.tar.bz2 |
changes in extension scripts should notify shorewall for a restart
-rw-r--r-- | manifests/extension_script.pp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/extension_script.pp b/manifests/extension_script.pp index 208d81a..569fcbf 100644 --- a/manifests/extension_script.pp +++ b/manifests/extension_script.pp @@ -3,7 +3,8 @@ define shorewall::extension_script($script = '') { case $name { 'init', 'initdone', 'start', 'started', 'stop', 'stopped', 'clear', 'refresh', 'continue', 'maclog': { file { "/etc/shorewall/puppet/${name}": - content => "${script}\n"; + content => "${script}\n", + notify => Service[shorewall]; } } '', default: { |