]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/munin/templates/munin.conf.erb
More munin stuff, supporting munin-async if it is on the client
[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 includedir /etc/munin/munin-conf.d
7
8 <% if hostname != "menotti" -%>
9
10 dbdir   /var/lib/munin
11 htmldir /var/cache/munin/www
12 logdir  /var/log/munin
13 rundir  /var/run/munin
14 tmpldir /etc/munin/templates
15 graph_strategy cgi
16
17 <%= out = ''
18     scope.lookupvar('site::localinfo').keys.sort.each do |node|
19        if not scope.lookupvar('site::localinfo')[node]['no_munin']
20           out += '[' + node + ']
21     address ' + node + '
22
23 '
24        end 
25     end
26 out
27 %>
28 <% end -%>