test
authorandreas <andreas@immerda.ch>
Tue, 4 Dec 2007 17:32:18 +0000 (17:32 +0000)
committerandreas <andreas@immerda.ch>
Tue, 4 Dec 2007 17:32:18 +0000 (17:32 +0000)
manifests/plugin.pp

index 6a84bc6..f72875b 100644 (file)
@@ -74,8 +74,8 @@ define munin::remoteplugin($ensure = "present", $source, $config = '') {
 class munin::plugins::base-debian {
 
        case $operatingsystem {
-               debian: {       $munin-node-service = "munin-node"; }
                gentoo: {       $munin-node-service = "munin"; }
+               debian: {       $munin-node-service = "munin-node"; }
        }
                file {
                        [ "/etc/munin/plugins", "/etc/munin/plugin-conf.d" ]:
@@ -83,11 +83,13 @@ class munin::plugins::base-debian {
                                ensure => directory, checksum => mtime,
                                recurse => true, purge => true, force => true, 
                                mode => 0755, owner => root, group => root,
-                               notify => Service[$munin-node-service];
+                               #notify => Service[$munin-node-service];
+                               notify => Service[munin];
                        "/etc/munin/plugin-conf.d/munin-node":
                                ensure => present, 
                                mode => 0644, owner => root, group => root,
-                               notify => Service[$munin-node-service];
+                       #       notify => Service[$munin-node-service];
+                               notify => Service[munin];
                }
 }