diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-25 18:37:45 -0200 |
---|---|---|
committer | Gabriel Filion <gabster@lelutin.ca> | 2015-04-19 16:01:24 -0400 |
commit | 0db7f5c149d0529f9566dcc96acfb064178d281a (patch) | |
tree | 5a8f87f0db328278c37bbb4c65a9fcd57edebed2 | |
parent | 0b20e1e0fd001cb0b688c6bf6971c8e7c3f743c6 (diff) |
Fixing plugin path for debian
-rw-r--r-- | manifests/plugin.pp | 5 |
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, |