if the munin node config file is changed it should notify the service
authorduritong <peter.meier@immerda.ch>
Sat, 5 Jul 2008 10:32:22 +0000 (12:32 +0200)
committerduritong <peter.meier@immerda.ch>
Sat, 5 Jul 2008 10:32:22 +0000 (12:32 +0200)
manifests/client.pp

index 59b6980..9a7b772 100644 (file)
@@ -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