From: Peter Palfrader Date: Sat, 20 Mar 2010 23:25:18 +0000 (+0100) Subject: I wonder if that makes puppet work X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=b2822ff88bf4533de4f28c8b3819f51987b815f2;p=mirror%2Fdsa-puppet.git I wonder if that makes puppet work --- diff --git a/modules/ferm/templates/interfaces.conf.erb b/modules/ferm/templates/interfaces.conf.erb index db39f1475..ee7e2c075 100644 --- a/modules/ferm/templates/interfaces.conf.erb +++ b/modules/ferm/templates/interfaces.conf.erb @@ -1,4 +1,10 @@ -def $MUNIN_IPS = (<%= v4ips.split(',').join(' ') %>); +def $MUNIN_IPS = (<%= +begin + v4ips.split(',').join(' ') +rescue + '' +end +%>); def $MUNIN6_IPS = (<%= v6ips == 'no' ? '' : v6ips.split(',').join(' ') %>); domain ip {