From: Stephen Gran <steve@lobefin.net>
Date: Sun, 7 Mar 2010 20:40:54 +0000 (+0000)
Subject: make v6ips fail more gracefully
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=d5a05620529ec475a3891e3b0db2392b222450cc;p=dsa-puppet.git

make v6ips fail more gracefully

Signed-off-by: Stephen Gran <steve@lobefin.net>
---

diff --git a/modules/ferm/templates/interfaces.conf.erb b/modules/ferm/templates/interfaces.conf.erb
index 18c5e9c0..db39f147 100644
--- 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 {