dedications
[mirror/dsa-puppet.git] / modules / munin-node / templates / munin.conf.erb
index c04c5cc..1911899 100644 (file)
@@ -12,10 +12,18 @@ graph_strategy cgi
 
 <%= out = ''
     localinfo.keys.sort.each do |node|
-       out += '[ ' + node + ' ]
+       if not localinfo[node]['no_munin']
+          out += '[' + node + ']
     address ' + node + '
 
 '
-     end
+       end 
+    end
 out
 %>
+
+<% unless localinfo.keys.include?('rietz.debian.org') -%>
+# Not in puppet
+[rietz.debian.org]
+    address rietz.debian.org
+<% end -%>