diff options
author | mh <mh@immerda.ch> | 2009-09-29 22:55:42 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2009-09-29 22:55:42 +0200 |
commit | 1a222875cc579d9255f5cf02ec47d80805ec5950 (patch) | |
tree | 66654036e312e24b39e5867529f503413409ff71 /manifests/plugin | |
parent | 4e6e9c8dc06c66b896afe8ec475833359e2798f6 (diff) |
put file at correct location
Diffstat (limited to 'manifests/plugin')
-rw-r--r-- | manifests/plugin/scriptpaths.pp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/plugin/scriptpaths.pp b/manifests/plugin/scriptpaths.pp new file mode 100644 index 0000000..ebaa6fa --- /dev/null +++ b/manifests/plugin/scriptpaths.pp @@ -0,0 +1,9 @@ +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 = "/opt/munin/lib/plugins/" } + default: { $script_path = "/usr/share/munin/plugins" } + } +} |