diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-12-28 05:44:24 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-12-28 05:44:24 -0500 |
commit | fbfac206e12ebb6fb219ef7ebd8709e657ac5390 (patch) | |
tree | 2f788463b46c52327935f52c8eb99705de5b3ecb /modules | |
parent | d19fcd6be3c178003f06a24fd0f2318a60a3297a (diff) | |
download | puppet-tozt-fbfac206e12ebb6fb219ef7ebd8709e657ac5390.tar.gz puppet-tozt-fbfac206e12ebb6fb219ef7ebd8709e657ac5390.zip |
restart munin-node when plugins are installed
Diffstat (limited to 'modules')
-rw-r--r-- | modules/munin/manifests/plugin.pp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/munin/manifests/plugin.pp b/modules/munin/manifests/plugin.pp index 09c2677..e7392b0 100644 --- a/modules/munin/manifests/plugin.pp +++ b/modules/munin/manifests/plugin.pp @@ -2,6 +2,7 @@ define munin::plugin($source=$name) { file { "/etc/munin/plugins/$name": ensure => link, target => "/usr/lib/munin/plugins/$source", - require => Package['munin-node']; + require => Package['munin-node'], + notify => Service['munin-node']; } } |