projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe5c5a3
)
see if global_variables works
author
Stephen Gran
<steve@lobefin.net>
Sat, 6 Mar 2010 15:33:07 +0000
(15:33 +0000)
committer
Stephen 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
patch
|
blob
|
history
diff --git
a/modules/ferm/templates/interfaces.conf.erb
b/modules/ferm/templates/interfaces.conf.erb
index
8092282
..
0b575d4
100644
(file)
--- a/
modules/ferm/templates/interfaces.conf.erb
+++ b/
modules/ferm/templates/interfaces.conf.erb
@@
-1,7
+1,7
@@
-$MUNIN_IFS = (<%=
+
def
$MUNIN_IFS = (<%=
ifs = []
interfaces.split(',').each do |iface|
- next unless Kernel.
loc
al_variables.include?("ipaddress_" + iface)
+ next unless Kernel.
glob
al_variables.include?("ipaddress_" + iface)
ifs << iface
end
ifs.join(' ')