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:
e0ece8d
)
and add a nop rule for munin
author
Stephen Gran
<steve@lobefin.net>
Sun, 7 Mar 2010 08:31:55 +0000
(08:31 +0000)
committer
Stephen Gran
<steve@lobefin.net>
Sun, 7 Mar 2010 08:31:55 +0000
(08:31 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/ferm/templates/interfaces.conf.erb
patch
|
blob
|
history
diff --git
a/modules/ferm/templates/interfaces.conf.erb
b/modules/ferm/templates/interfaces.conf.erb
index
0b575d4
..
1bebce3
100644
(file)
--- a/
modules/ferm/templates/interfaces.conf.erb
+++ b/
modules/ferm/templates/interfaces.conf.erb
@@
-1,9
+1,13
@@
-def $MUNIN_IFS = (<%=
-ifs = []
-interfaces.split(',').each do |iface|
- next unless Kernel.global_variables.include?("ipaddress_" + iface)
- ifs << iface
-end
-ifs.join(' ')
-%>);
+def $MUNIN_IPS = (<%= v4ips.split(',').join(' ') %>);
+domain ip {
+ chain INPUT {
+ daddr ($MUNIN_IP) NOP;
+ }
+}
+
+domain ip {
+ chain OUTPUT {
+ saddr ($MUNIN_IP) NOP;
+ }
+}