diff options
Diffstat (limited to 'manifests/master')
-rw-r--r-- | manifests/master/munin.pp | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/manifests/master/munin.pp b/manifests/master/munin.pp index b455240..ca6fddc 100644 --- a/manifests/master/munin.pp +++ b/manifests/master/munin.pp @@ -1,10 +1,13 @@ +# deploy puppet munin plugin class puppet::master::munin { - - munin::plugin::deploy { - [ 'puppetmaster_memory', 'puppet_clients' ]: - source => "puppet/munin/puppet_", - config => "user root -env.puppet_logfile /var/log/puppet/puppetmaster.log" + munin::plugin::deploy{'puppet_': + ensure => absent, + source => 'puppet/munin/puppet_'; + } + munin::plugin{ + ['puppet_clients','puppet_mem']: + ensure => 'puppet_', + require => Munin::Plugin::Deploy['puppet_'], + config => 'user root'; } - } |