]> 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 37fc7d668b2b33097abd7485c91e3f1be8c2b830..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,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 + '