add the "we are puppetized" header
[mirror/dsa-puppet.git] / modules / munin-node / templates / munin.conf.erb
index 37fc7d6..a1ba28b 100644 (file)
@@ -4,7 +4,7 @@
 ##
 
 dbdir   /var/lib/munin
-htmldir /var/www/munin
+htmldir /var/cache/munin/www
 logdir  /var/log/munin
 rundir  /var/run/munin
 tmpldir /etc/munin/templates
@@ -12,7 +12,7 @@ graph_strategy cgi
 
 <%= out = ''
     localinfo.keys.sort.each do |node|
-       if localinfo[node]['no_munin'] != "true"
+       if not localinfo[node]['no_munin']
           out += '[' + node + ']
     address ' + node + '
 
@@ -21,3 +21,9 @@ graph_strategy cgi
     end
 out
 %>
+
+<% unless localinfo.keys.include?('rietz.debian.org') -%>
+# Not in puppet
+[rietz.debian.org]
+    address rietz.debian.org
+<% end -%>