]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - modules/munin/templates/munin.conf.erb
menotti is no longer a special munin server, it is the munin server
[dsa-puppet.git] / modules / munin / templates / munin.conf.erb
index aa7df0a4cbd691c3739a4ecc9a047d3055edb16e..80d0c7e9f9a4745acff1a0aaeded90387f5d544b 100644 (file)
@@ -3,40 +3,11 @@
 ### USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
 ##
 
-<% if hostname != "menotti" -%>
-
-dbdir   /var/lib/munin
-htmldir /var/cache/munin/www
-logdir  /var/log/munin
-rundir  /var/run/munin
-tmpldir /etc/munin/templates
-
-<% else -%>
 # number of updaters to run
 max_processes 96
-<% end -%>
+rrdcached_socket /var/run/munin/rrdcached.sock/sock
 
+#html_strategy cgi
 graph_strategy cgi
 
 includedir /etc/munin/munin-conf.d
-
-<% if hostname != "menotti" -%>
-
-dbdir   /var/lib/munin
-htmldir /var/cache/munin/www
-logdir  /var/log/munin
-rundir  /var/run/munin
-tmpldir /etc/munin/templates
-
-<%= out = ''
-    scope.lookupvar('site::localinfo').keys.sort.each do |node|
-       if not scope.lookupvar('site::localinfo')[node]['no_munin']
-          out += '[' + node + ']
-    address ' + node + '
-
-'
-       end 
-    end
-out
-%>
-<% end -%>