summaryrefslogtreecommitdiff
path: root/manifests/plugin
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2013-11-03 18:21:57 +0100
committermh <mh@immerda.ch>2013-11-03 18:21:57 +0100
commit3064a5d5a6251f84cf4d115be1711266faf7ed13 (patch)
treebb2d0e2bdfb12c4062ccf69077f88a63569bd85e /manifests/plugin
parentad37140f6123c0e85cfbeb23dee5b3ea3c324701 (diff)
fix #26 - do not manage files of a plugin if it should be absent
The directories are recursively managed and will purge these files anyway and trigger a proper restart. Like that we can safe a few resources in our catalog.
Diffstat (limited to 'manifests/plugin')
-rw-r--r--manifests/plugin/scriptpaths.pp5
1 files changed, 1 insertions, 4 deletions
diff --git a/manifests/plugin/scriptpaths.pp b/manifests/plugin/scriptpaths.pp
index f31f38d..62dd77b 100644
--- a/manifests/plugin/scriptpaths.pp
+++ b/manifests/plugin/scriptpaths.pp
@@ -4,10 +4,7 @@ class munin::plugin::scriptpaths {
gentoo: { $script_path = '/usr/libexec/munin/plugins' }
debian: { $script_path = '/usr/share/munin/plugins' }
centos: { $script_path = '/usr/share/munin/plugins' }
- openbsd: { $script_path = $::operatingsystemrelease ? {
- '4.3' => '/opt/munin/lib/plugins/',
- default => '/usr/local/libexec/munin/plugins/',
- } }
+ openbsd: { $script_path = '/usr/local/libexec/munin/plugins/' }
default: { $script_path = '/usr/share/munin/plugins' }
}
}