]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
bring back my post hook. this time with the right syntax.
authorMartin Zobel-Helas <zobel@debian.org>
Mon, 20 May 2013 15:31:34 +0000 (17:31 +0200)
committerMartin Zobel-Helas <zobel@debian.org>
Mon, 20 May 2013 15:32:11 +0000 (17:32 +0200)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
modules/ferm/files/ferm.conf

index 5b38e34c31723e0379157a63e1dad0a9e8e390e6..4159c0a7becdb02486aef49d0284e6f05e9dcf4c 100644 (file)
@@ -63,4 +63,6 @@ domain (ip ip6) {
                 jump log_or_drop;
         }
 }
+
+@hook post "umask 0177; iptables-save | sed -e 's/\[.*//' -e 's/^#.*//' | sha256sum > /var/run/iptables-ferm.checksum";
 # vim:set et: