projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rautavaara does afs
[mirror/dsa-puppet.git]
/
modules
/
munin-node
/
templates
/
munin.conf.erb
diff --git
a/modules/munin-node/templates/munin.conf.erb
b/modules/munin-node/templates/munin.conf.erb
index
c04c5cc
..
1911899
100644
(file)
--- a/
modules/munin-node/templates/munin.conf.erb
+++ b/
modules/munin-node/templates/munin.conf.erb
@@
-12,10
+12,18
@@
graph_strategy cgi
<%= out = ''
localinfo.keys.sort.each do |node|
<%= out = ''
localinfo.keys.sort.each do |node|
- out += '[ ' + node + ' ]
+ if not localinfo[node]['no_munin']
+ out += '[' + node + ']
address ' + node + '
'
address ' + node + '
'
- end
+ end
+ end
out
%>
out
%>
+
+<% unless localinfo.keys.include?('rietz.debian.org') -%>
+# Not in puppet
+[rietz.debian.org]
+ address rietz.debian.org
+<% end -%>