diff options
Diffstat (limited to 'manifests/plugin/scriptpaths.pp')
-rw-r--r-- | manifests/plugin/scriptpaths.pp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/manifests/plugin/scriptpaths.pp b/manifests/plugin/scriptpaths.pp index 115644c..164a17e 100644 --- a/manifests/plugin/scriptpaths.pp +++ b/manifests/plugin/scriptpaths.pp @@ -1,12 +1,12 @@ class munin::plugin::scriptpaths { case $operatingsystem { - 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 ? { + 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/' - } } - default: { $script_path = '/usr/share/munin/plugins' } + } } + default: { $script_path = "/usr/share/munin/plugins" } } } |