diff options
author | Ewoud Kohl van Wijngaarden <e.kohlvanwijngaarden@oxilion.nl> | 2013-05-06 18:13:12 +0200 |
---|---|---|
committer | Ewoud Kohl van Wijngaarden <e.kohlvanwijngaarden@oxilion.nl> | 2013-07-02 19:20:22 +0200 |
commit | aaf55c9ebfa0e34f63b2ca3c2b660e1d164026dd (patch) | |
tree | a57cb9f94b00a43efbcd15b6e8b507d6de22be3b /manifests/plugin/scriptpaths.pp | |
parent | 46c1aeb48f03f5eb0f761f0135de967a62986515 (diff) |
lintify
Diffstat (limited to 'manifests/plugin/scriptpaths.pp')
-rw-r--r-- | manifests/plugin/scriptpaths.pp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/manifests/plugin/scriptpaths.pp b/manifests/plugin/scriptpaths.pp index 2cad97b..f31f38d 100644 --- a/manifests/plugin/scriptpaths.pp +++ b/manifests/plugin/scriptpaths.pp @@ -1,12 +1,13 @@ +# Determine the script path for each OS 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" } + 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/' + '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' } } } |