projects
/
mirror
/
dsa-puppet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
anarcat points out that maybe Optional[String] is better to use here
[mirror/dsa-puppet.git]
/
modules
/
ferm
/
templates
/
conf.d-munin-interfaces.conf.erb
1
def $MUNIN_IPS = (<%=
2
begin
3
scope.lookupvar('site::nodeinfo')['misc']['v4addrs'].join(' ')
4
rescue
5
''
6
end
7
%>);
8
def $MUNIN_IPS = ($MUNIN_IPS <%=
9
begin
10
scope.lookupvar('site::nodeinfo')['misc']['v6addrs'].join(' ')
11
rescue
12
''
13
end
14
%>);