diff options
author | duritong <peter.meier@immerda.ch> | 2008-07-05 12:32:22 +0200 |
---|---|---|
committer | duritong <peter.meier@immerda.ch> | 2008-07-05 12:32:22 +0200 |
commit | 4a7b0491b2e9c92733098650782fc60edb57cddb (patch) | |
tree | 916e756b1b83a475a9145db6b32d3c3c1df34d06 | |
parent | 1c58e95f08313f90d5c80922c231c9333b19a73f (diff) |
if the munin node config file is changed it should notify the service
-rw-r--r-- | manifests/client.pp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/client.pp b/manifests/client.pp index 59b6980..9a7b772 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -66,10 +66,11 @@ class munin::client::base { } file {"/etc/munin/munin-node.conf": content => template("munin/munin-node.conf.$operatingsystem"), - mode => 0644, owner => root, group => 0, # this has to be installed before the package, so the postinst can # boot the munin-node without failure! before => Package["munin-node"], + notify => Service['munin-node'], + mode => 0644, owner => root, group => 0, } munin::register { $fqdn: } include munin::plugins::base |