summaryrefslogtreecommitdiff
path: root/manifests/plugin.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/plugin.pp')
-rw-r--r--manifests/plugin.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/plugin.pp b/manifests/plugin.pp
index f2e4ed2..07938cd 100644
--- a/manifests/plugin.pp
+++ b/manifests/plugin.pp
@@ -1,8 +1,9 @@
+# a wrapper for syncing a plugin
define nagios::plugin(
$source = 'absent',
- $ensure = present
+ $ensure = present,
){
- if $::hardwaremodel == 'x86_64' and $::operatingsystem != 'debian' {
+ if $::hardwaremodel == 'x86_64' and $::operatingsystem != 'Debian' {
$real_path = "/usr/lib64/nagios/plugins/${name}"
}
else {