From 4e35b0bce0f2dd00d52e0de7488ab322867dd012 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Thu, 7 Oct 2010 10:47:02 -0400 Subject: add a nagios::plugin::deploy modeled after the munin::plugin::deploy --- manifests/plugin/scriptpaths.pp | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 manifests/plugin/scriptpaths.pp (limited to 'manifests/plugin/scriptpaths.pp') diff --git a/manifests/plugin/scriptpaths.pp b/manifests/plugin/scriptpaths.pp new file mode 100644 index 0000000..6065709 --- /dev/null +++ b/manifests/plugin/scriptpaths.pp @@ -0,0 +1,6 @@ +class nagios::plugin::scriptpaths { + case $hardwaremodel { + x86_64: { $script_path = "/usr/lib64/nagios/plugins/" } + default: { $script_path = "/usr/lib/nagios/plugins" } + } +} -- cgit v1.2.3