summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Filion <gabster@lelutin.ca>2015-04-19 17:07:41 -0400
committerGabriel Filion <gabster@lelutin.ca>2015-04-19 17:07:41 -0400
commitdf559db6f6cbe65393b2ebcc571ebdaed06e0cf3 (patch)
treefff0e3fa3835d5b5a3b9285347806ccd9a0403b1
parent7288988a6d3f2785f5e23bd2d7a7f6c275421c00 (diff)
nagios::service typo in variable
This invalidates the point of that if block since it will probably never be true that some undefined (read mis-typed) variable is set to 'absent'.
-rw-r--r--manifests/service.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/service.pp b/manifests/service.pp
index 918ce24..3e8f6c8 100644
--- a/manifests/service.pp
+++ b/manifests/service.pp
@@ -27,7 +27,7 @@ define nagios::service (
}
if $ensure != 'absent' {
- if $check_comand == 'absent' {
+ if $check_command == 'absent' {
fail("Must pass a check_command to ${name} if it should be present")
}
if ($use_nrpe == true) {