summaryrefslogtreecommitdiff
path: root/puppet/modules/nagios/manifests/plugin/scriptpaths.pp
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/modules/nagios/manifests/plugin/scriptpaths.pp')
m---------puppet/modules/nagios0
-rw-r--r--puppet/modules/nagios/manifests/plugin/scriptpaths.pp6
2 files changed, 6 insertions, 0 deletions
diff --git a/puppet/modules/nagios b/puppet/modules/nagios
deleted file mode 160000
-Subproject 68dab01a85996e14efcccf856b623a2caf25782
diff --git a/puppet/modules/nagios/manifests/plugin/scriptpaths.pp b/puppet/modules/nagios/manifests/plugin/scriptpaths.pp
new file mode 100644
index 00000000..9cd4b5d6
--- /dev/null
+++ b/puppet/modules/nagios/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" }
+ }
+}