Revert "older ferm syntax"
[mirror/dsa-puppet.git] / modules / munin-node / 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/www/munin
8 logdir  /var/log/munin
9 rundir  /var/run/munin
10 tmpldir /etc/munin/templates
11 graph_strategy cgi
12
13 <%= out = ''
14     localinfo.keys.sort.each do |node|
15        if not localinfo[node]['no_munin']
16           out += '[' + node + ']
17     address ' + node + '
18
19 '
20        end 
21     end
22 out
23 %>
24
25 <% unless localinfo.keys.include?('rietz.debian.org') -%>
26 # Not in puppet
27 [rietz.debian.org]
28     address rietz.debian.org
29 <% end -%>