cannot reassign ... correction
authorandreas <andreas@immerda.ch>
Thu, 6 Dec 2007 09:14:08 +0000 (09:14 +0000)
committerandreas <andreas@immerda.ch>
Thu, 6 Dec 2007 09:14:08 +0000 (09:14 +0000)
manifests/plugin.pp

index 7a6e6af..f35bf8f 100644 (file)
@@ -7,7 +7,7 @@ define munin::plugin (
        $script_path = '',
        $config = '')
 {
-       $script_path_default = "/usr/share/munin/plugins"
+       #$script_path_default = "/usr/share/munin/plugins"
        case $operatingsystem {
                debian: {       
                        $munin_node_service = "munin-node" 
@@ -17,6 +17,10 @@ define munin::plugin (
                        $munin_node_service = "munin"
                        $script_path_default = "/usr/libexec/munin/plugins"
                }
+               default: {
+                       $munin_node_service = "munin"
+                       $script_path_default = "/usr/libexec/munin/plugins"
+               }
        }
        $script_path_correct = $script_path ? { '' => $script_path_default, default => $script_path }