X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fmunin%2Fmanifests%2Fmaster.pp;h=d8d22710746445f2148ff484e39a882cf42f5996;hb=1837b82daf60c2fa6dbe1a2fabf65ed25d7022b8;hp=b8ee54d86f79a5143e4cbb3a60d85c3827f8860d;hpb=52a6648c80da6c1d69997a1574220256d5ed9666;p=mirror%2Fdsa-puppet.git diff --git a/modules/munin/manifests/master.pp b/modules/munin/manifests/master.pp index b8ee54d86..d8d227107 100644 --- a/modules/munin/manifests/master.pp +++ b/modules/munin/manifests/master.pp @@ -9,7 +9,10 @@ class munin::master { require => Package['munin']; } - ssl::service { 'munin.debian.org': } + ssl::service { 'munin.debian.org': + notify => Exec['service apache2 reload'], + key => true, + } file { '/etc/munin/munin-conf.d': ensure => directory, mode => '0755', @@ -19,5 +22,9 @@ class munin::master { source => 'puppet:///files/empty/', } - Munin::Master-per-node<<| |>> + Munin::Master_per_node<<| |>> + + file { '/etc/cron.d/puppet-munin-cleanup': + source => 'puppet:///modules/munin/master-cleanup-cron', + } }