reload ferm on rule change
authorStephen Gran <steve@lobefin.net>
Sat, 20 Feb 2010 19:58:55 +0000 (19:58 +0000)
committerStephen Gran <steve@lobefin.net>
Sat, 20 Feb 2010 19:58:55 +0000 (19:58 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/ferm/manifests/init.pp

index e7c2a64..ee9ce77 100644 (file)
@@ -6,6 +6,7 @@ class ferm {
                        group   => root,
                        mode    => 0600,
                        content => template("ferm/ferm-rule.erb"),
+                        notify  => Exec["ferm restart"],
                }
        }