From 56c15eb79702694ecd0a413958c2e5498a794f0a Mon Sep 17 00:00:00 2001 From: mh Date: Fri, 7 Dec 2012 12:56:28 +0100 Subject: improve puppet munin plugin --- manifests/master/munin.pp | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'manifests') 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'; } - } -- cgit v1.2.3