]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/munin/templates/munin.conf.erb
html strategy no longer is cgi
[dsa-puppet.git] / modules / munin / templates / munin.conf.erb
1 ##
2 ### THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE.
3 ### USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git
4 ##
5
6 <% if hostname != "menotti" -%>
7
8 dbdir   /var/lib/munin
9 htmldir /var/cache/munin/www
10 logdir  /var/log/munin
11 rundir  /var/run/munin
12 tmpldir /etc/munin/templates
13
14 <% else -%>
15 # number of updaters to run
16 max_processes 96
17 rrdcached_socket /var/run/munin/rrdcached.sock/sock
18
19 #html_strategy cgi
20 <% end -%>
21 graph_strategy cgi
22
23 includedir /etc/munin/munin-conf.d
24
25 <% if hostname != "menotti" -%>
26
27 dbdir   /var/lib/munin
28 htmldir /var/cache/munin/www
29 logdir  /var/log/munin
30 rundir  /var/run/munin
31 tmpldir /etc/munin/templates
32
33 <%= out = ''
34     scope.lookupvar('site::localinfo').keys.sort.each do |node|
35        if not scope.lookupvar('site::localinfo')[node]['no_munin']
36           out += '[' + node + ']
37     address ' + node + '
38
39 '
40        end 
41     end
42 out
43 %>
44 <% end -%>