From 1a222875cc579d9255f5cf02ec47d80805ec5950 Mon Sep 17 00:00:00 2001 From: mh Date: Tue, 29 Sep 2009 22:55:42 +0200 Subject: put file at correct location --- manifests/plugin/scriptpaths.pp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 manifests/plugin/scriptpaths.pp (limited to 'manifests/plugin') 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" } + } +} -- cgit v1.2.3