gentoo has another script path
authorandreas <andreas@immerda.ch>
Wed, 5 Dec 2007 14:12:29 +0000 (14:12 +0000)
committerandreas <andreas@immerda.ch>
Wed, 5 Dec 2007 14:12:29 +0000 (14:12 +0000)
manifests/plugin.pp

index 8b03765..f97abf0 100644 (file)
@@ -9,7 +9,10 @@ define munin::plugin (
 {
        case $operatingsystem {
                debian: {       $munin_node_service = "munin-node" }
-               gentoo: {       $munin_node_service = "munin" }
+               Gentoo: {       
+                       $munin_node_service = "munin" 
+                       $script_path = "/usr/libexec/munin/plugins",
+               }
        }
        $plugin_src = $ensure ? { "present" => $name, default => $ensure }
        debug ( "munin_plugin: name=$name, ensure=$ensure, script_path=$script_path" )