summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/plugin.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/plugin.pp b/manifests/plugin.pp
index d32606b..6d849fd 100644
--- a/manifests/plugin.pp
+++ b/manifests/plugin.pp
@@ -4,7 +4,10 @@ define nagios::plugin(
){
file{$name:
path => $::hardwaremodel ? {
- 'x86_64' => "/usr/lib64/nagios/plugins/${name}",
+ 'x86_64' => $::operatingsystem ? {
+ 'debian' => "/usr/lib/nagios/plugins/${name}",
+ default => "/usr/lib64/nagios/plugins/${name}",
+ },
default => "/usr/lib/nagios/plugins/${name}",
},
ensure => $ensure,