summaryrefslogtreecommitdiff
path: root/manifests/client.pp
diff options
context:
space:
mode:
authormh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-07-08 18:41:50 +0000
committermh <mh@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-07-08 18:41:50 +0000
commit12f797a7968d5adc27de20c6651a56594fb4fa36 (patch)
tree916e756b1b83a475a9145db6b32d3c3c1df34d06 /manifests/client.pp
parent4f8fbfcc736d02ec0528b0df571d5d4a458c261e (diff)
if the munin node config file is changed it should notify the service
git-svn-id: https://svn/ipuppet/trunk/modules/munin@1777 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
Diffstat (limited to 'manifests/client.pp')
-rw-r--r--manifests/client.pp3
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