summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authoram <am@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2007-12-06 09:14:08 +0000
committeram <am@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2007-12-06 09:14:08 +0000
commit01caf8e855c93161bef56ab1da3455bf936dc7b1 (patch)
treec2fc5056a3ca5471aaba30c4bf649d63953dd7cc /manifests
parent58c7e6d506030bc3dcdaf4e4aaaf931c7b40a341 (diff)
cannot reassign ... correction
git-svn-id: https://svn/ipuppet/trunk/modules/munin@207 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
Diffstat (limited to 'manifests')
-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 }