diff options
author | Micah Anderson <micah@riseup.net> | 2010-10-07 10:47:02 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2010-10-17 18:07:26 -0400 |
commit | 4e35b0bce0f2dd00d52e0de7488ab322867dd012 (patch) | |
tree | 1b3aad8b6f765836c416aaa17aa20cae053eeef7 /manifests/plugin/scriptpaths.pp | |
parent | 45edca107c3fd158fc9b00aa90f9f3f6d730185a (diff) |
add a nagios::plugin::deploy modeled after the munin::plugin::deploy
Diffstat (limited to 'manifests/plugin/scriptpaths.pp')
-rw-r--r-- | manifests/plugin/scriptpaths.pp | 6 |
1 files changed, 6 insertions, 0 deletions
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" } + } +} |