]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/munin/templates/munin.conf.erb
raise number of forked processes for munin
[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 <% end -%>
18
19 graph_strategy cgi
20
21 includedir /etc/munin/munin-conf.d
22
23 <% if hostname != "menotti" -%>
24
25 dbdir   /var/lib/munin
26 htmldir /var/cache/munin/www
27 logdir  /var/log/munin
28 rundir  /var/run/munin
29 tmpldir /etc/munin/templates
30
31 <%= out = ''
32     scope.lookupvar('site::localinfo').keys.sort.each do |node|
33        if not scope.lookupvar('site::localinfo')[node]['no_munin']
34           out += '[' + node + ']
35     address ' + node + '
36
37 '
38        end 
39     end
40 out
41 %>
42 <% end -%>