From: Stephen Gran Date: Sat, 6 Mar 2010 15:29:49 +0000 (+0000) Subject: add first stab at interfaces X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=b518be1306dde4a620e067aa85904ec0e99eb705;p=mirror%2Fdsa-puppet.git add first stab at interfaces Signed-off-by: Stephen Gran --- diff --git a/modules/ferm/templates/interfaces.conf.erb b/modules/ferm/templates/interfaces.conf.erb new file mode 100644 index 000000000..17c0c6674 --- /dev/null +++ b/modules/ferm/templates/interfaces.conf.erb @@ -0,0 +1,8 @@ +$MUNIN_IFS = (<%= +ifs = [] +interfaces.split(',').each do |iface| + next unless Kernel.local_variables.include?("ipaddress_" + iface) + ifs << iface +ifs.join(' ') +%>); +