]> git.donarmstrong.com Git - dsa-puppet.git/blob - modules/munin/manifests/master.pp
Start with a storeconf munin thing
[dsa-puppet.git] / modules / munin / manifests / master.pp
1 class munin::master {
2
3         package { 'munin':
4                 ensure => installed
5         }
6
7         file { '/etc/munin/munin.conf':
8                 content => template('munin/munin.conf.erb'),
9                 require => Package['munin'];
10         }
11
12         if $::hostname == 'menotti' {
13                 file { '/etc/munin/munin-conf.d':
14                         ensure => directory,
15                         mode   => 755,
16                         ;
17                 }
18
19                 Munin::Master-per-node<<| |>>
20         }
21 }