munin: Enable forced plugins after munin-node-configure
This commit is contained in:
parent
1addc43bfe
commit
6cd511d77f
1 changed files with 4 additions and 3 deletions
|
@ -220,9 +220,10 @@ define munin::plugin(
|
||||||
|
|
||||||
if $force == true {
|
if $force == true {
|
||||||
file { "/etc/munin/plugins/${name}":
|
file { "/etc/munin/plugins/${name}":
|
||||||
ensure => link,
|
ensure => link,
|
||||||
target => "${plugindir}/${name}",
|
target => "${plugindir}/${name}",
|
||||||
notify => Service["munin-node"],
|
require => Exec["munin-node-configure"],
|
||||||
|
notify => Service["munin-node"],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue