projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
If we're picky we might just as well also end our sentences with a full stop.
[mirror/dsa-puppet.git]
/
modules
/
ferm
/
templates
/
interfaces.conf.erb
1
def $MUNIN_IPS = (<%=
2
begin
3
v4ips.split(',').join(' ')
4
rescue
5
''
6
end
7
%>);
8
def $MUNIN6_IPS = (<%=
9
begin
10
v6ips == 'no' ? '' : v6ips.split(',').join(' ')
11
rescue
12
''
13
end
14
%>);
15
16
domain ip {
17
chain INPUT {
18
daddr ($MUNIN_IPS) NOP;
19
}
20
}
21
22
domain ip {
23
chain OUTPUT {
24
saddr ($MUNIN_IPS) NOP;
25
}
26
}
27
28
domain ip6 {
29
chain INPUT {
30
daddr ($MUNIN6_IPS) NOP;
31
}
32
}
33
34
domain ip6 {
35
chain OUTPUT {
36
saddr ($MUNIN6_IPS) NOP;
37
}
38
}