From: Stephen Gran Date: Sun, 7 Mar 2010 20:40:54 +0000 (+0000) Subject: make v6ips fail more gracefully X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=d5a05620529ec475a3891e3b0db2392b222450cc;p=mirror%2Fdsa-puppet.git make v6ips fail more gracefully Signed-off-by: Stephen Gran --- diff --git a/modules/ferm/templates/interfaces.conf.erb b/modules/ferm/templates/interfaces.conf.erb index 18c5e9c0d..db39f1475 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 {