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

index 1420260..e7a6b2a 100644 (file)
@@ -9,10 +9,10 @@ define munin::plugin (
 {
        case $operatingsystem {
                debian: {       
-                       $munin-node-service = "munin-node";
+                       $munin-node-service = "$operatingsystem/munin-node";
                }
                gentoo: {       
-                       $munin-node-service = "munin";
+                       $munin-node-service = "$operatingsystem/munin";
                }
        }
                                        $plugin_src = $ensure ? { "present" => $name, default => $ensure }