From 3f8c34e6e72aa4a20ed4042571b83c3a1a05af23 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Wed, 20 Jun 2012 14:20:23 -0400 Subject: changes in extension scripts should notify shorewall for a restart --- manifests/extension_script.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'manifests') 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: { -- cgit v1.2.3