projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f3cdf4
)
Remove /var/run/iptables-ferm.checksum /var/run/ip6tables-ferm.checksum in a pre...
author
Peter Palfrader
<peter@palfrader.org>
Tue, 25 Aug 2015 08:42:55 +0000
(10:42 +0200)
committer
Peter Palfrader
<peter@palfrader.org>
Tue, 25 Aug 2015 08:42:55 +0000
(10:42 +0200)
modules/ferm/templates/ferm.conf.erb
patch
|
blob
|
history
diff --git
a/modules/ferm/templates/ferm.conf.erb
b/modules/ferm/templates/ferm.conf.erb
index
da573e5
..
5d63f8d
100644
(file)
--- a/
modules/ferm/templates/ferm.conf.erb
+++ b/
modules/ferm/templates/ferm.conf.erb
@@
-83,6
+83,7
@@
domain (ip ip6) {
}
}
+@hook pre "umask 0177; rm -f /var/run/iptables-ferm.checksum /var/run/ip6tables-ferm.checksum";
@hook post "umask 0177; iptables-save | sed -e 's/\[.*//' -e 's/^#.*//' | sha256sum > /var/run/iptables-ferm.checksum";
@hook post "umask 0177; ip6tables-save | sed -e 's/\[.*//' -e 's/^#.*//' | sha256sum > /var/run/ip6tables-ferm.checksum";
# vim:set et: