summaryrefslogtreecommitdiff
path: root/manifests/plugin.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/plugin.pp')
-rw-r--r--manifests/plugin.pp6
1 files changed, 5 insertions, 1 deletions
diff --git a/manifests/plugin.pp b/manifests/plugin.pp
index 7a6e6af..f35bf8f 100644
--- a/manifests/plugin.pp
+++ b/manifests/plugin.pp
@@ -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 }