X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fmunin%2Fmanifests%2Fmaster.pp;h=2a01854d17da767f4f83839b0b5519552efa9c59;hb=895270254d224920c153dd9d3306fd85bd10c6a8;hp=6f606e3712bd51bafa3e4ad3690c56edd5210c50;hpb=996a1160f23dbaf10a537e6502f75a0dd1dbc0b2;p=dsa-puppet.git diff --git a/modules/munin/manifests/master.pp b/modules/munin/manifests/master.pp index 6f606e37..2a01854d 100644 --- a/modules/munin/manifests/master.pp +++ b/modules/munin/manifests/master.pp @@ -9,13 +9,17 @@ class munin::master { require => Package['munin']; } - if $::hostname == 'menotti' { - file { '/etc/munin/munin-conf.d': - ensure => directory, - mode => 755, - ; - } - - Munin::Master-per-node<<| |>> + ssl::service { 'munin.debian.org': + notify => Service['apache2'], + } + file { '/etc/munin/munin-conf.d': + ensure => directory, + mode => '0755', + purge => true, + force => true, + recurse => true, + source => 'puppet:///files/empty/', } + + Munin::Master-per-node<<| |>> }