]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/munin-node/templates/munin.conf.erb
(www) Add redirections for some old Refresh hacks
[dsa-puppet.git] / modules / munin-node / templates / munin.conf.erb
index fc09288e23070ff95a0e3b660679d346838afb6f..50468cb5da97383a1823070579c3cc5c5bce3a8a 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,10 +12,12 @@ 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
 %>