Try to avoid reserved site keyword
[mirror/dsa-puppet.git] / modules / ferm / templates / conf.d-munin-interfaces.conf.erb
1 def $MUNIN_IPS = (<%=
2 begin
3         scope.lookupvar('deprecated::nodeinfo')['misc']['v4addrs'].join(' ')
4 rescue
5         ''
6 end
7 %>);
8 def $MUNIN_IPS = ($MUNIN_IPS <%=
9 begin
10         scope.lookupvar('deprecated::nodeinfo')['misc']['v6addrs'].join(' ')
11 rescue
12         ''
13 end
14 %>);