]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/munin/templates/munin.conf.erb
massive style guide fixups
[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 dbdir   /var/lib/munin
7 htmldir /var/cache/munin/www
8 logdir  /var/log/munin
9 rundir  /var/run/munin
10 tmpldir /etc/munin/templates
11 graph_strategy cgi
12
13 <%= out = ''
14     scope.lookupvar('site::localinfo').keys.sort.each do |node|
15        if not scope.lookupvar('site::localinfo')[node]['no_munin']
16           out += '[' + node + ']
17     address ' + node + '
18
19 '
20        end 
21     end
22 out
23 %>