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 {