X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fmunin%2Fmanifests%2Fmaster.pp;h=e53aba3aac273664518975efdfff9e689d716ead;hb=501e88f916b62cdc232b204457a82ee77ab089b2;hp=4706dfbfb2113ee343f8299ab28642678b485138;hpb=3eb533e5499e66423bafdedaf6c7d08ead1772de;p=mirror%2Fdsa-puppet.git diff --git a/modules/munin/manifests/master.pp b/modules/munin/manifests/master.pp index 4706dfbfb..e53aba3aa 100644 --- a/modules/munin/manifests/master.pp +++ b/modules/munin/manifests/master.pp @@ -8,4 +8,17 @@ class munin::master { content => template('munin/munin.conf.erb'), require => Package['munin']; } + + if $::hostname == 'menotti' { + file { '/etc/munin/munin-conf.d': + ensure => directory, + mode => '0755', + purge => true, + force => true, + recurse => true, + source => 'puppet:///files/empty/', + } + + Munin::Master-per-node<<| |>> + } }