]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
see if global_variables works
authorStephen Gran <steve@lobefin.net>
Sat, 6 Mar 2010 15:33:07 +0000 (15:33 +0000)
committerStephen Gran <steve@lobefin.net>
Sat, 6 Mar 2010 15:33:07 +0000 (15:33 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/ferm/templates/interfaces.conf.erb

index 8092282fc1fa2477e795cada0dbebee5ab1ea496..0b575d46470718e14abe474b611c42cc0fba8404 100644 (file)
@@ -1,7 +1,7 @@
-$MUNIN_IFS = (<%=
+def $MUNIN_IFS = (<%=
 ifs = []
 interfaces.split(',').each do |iface|
-  next unless Kernel.local_variables.include?("ipaddress_" + iface)
+  next unless Kernel.global_variables.include?("ipaddress_" + iface)
   ifs << iface
 end
 ifs.join(' ')