From 6cd511d77f064f00784a268206d69537debb0433 Mon Sep 17 00:00:00 2001 From: Ossi Salmi Date: Mon, 27 Oct 2014 14:06:40 +0200 Subject: [PATCH] munin: Enable forced plugins after munin-node-configure --- munin/manifests/init.pp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/munin/manifests/init.pp b/munin/manifests/init.pp index df6a681..455cb9f 100644 --- a/munin/manifests/init.pp +++ b/munin/manifests/init.pp @@ -220,9 +220,10 @@ define munin::plugin( if $force == true { file { "/etc/munin/plugins/${name}": - ensure => link, - target => "${plugindir}/${name}", - notify => Service["munin-node"], + ensure => link, + target => "${plugindir}/${name}", + require => Exec["munin-node-configure"], + notify => Service["munin-node"], } } } else {