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:
c35d00a
)
make v6ips fail more gracefully
author
Stephen Gran
<steve@lobefin.net>
Sun, 7 Mar 2010 20:40:54 +0000
(20:40 +0000)
committer
Stephen Gran
<steve@lobefin.net>
Sun, 7 Mar 2010 20:40:54 +0000
(20:40 +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
18c5e9c
..
db39f14
100644
(file)
--- a/
modules/ferm/templates/interfaces.conf.erb
+++ b/
modules/ferm/templates/interfaces.conf.erb
@@
-1,5
+1,5
@@
def $MUNIN_IPS = (<%= v4ips.split(',').join(' ') %>);
-def $MUNIN6_IPS = (<%= v6ips.split(',').join(' ') %>);
+def $MUNIN6_IPS = (<%= v6ips
== 'no' ? '' : v6ips
.split(',').join(' ') %>);
domain ip {
chain INPUT {