From: Lance Dillon <[email protected]>
---
lance dillon wrote:
> I tried to post this to puppet-dev but it doesn't look like I have
> permission, so here it is on puppet-users for anybody to do something with.
> There seems to be a typo in the following file:
>
> [riffr...@hobbes puppet-0.25.0]$ diff -u ext/nagios/check_puppet.rb.orig
> ext/nagios/check_puppet.rb
> --- ext/nagios/check_puppet.rb.orig 2009-09-06 20:12:28.000000000 -0400
> +++ ext/nagios/check_puppet.rb 2009-09-06 20:12:35.000000000 -0400
> @@ -102,7 +102,7 @@
> exitcode = 2
> when 3
> status = "UNKNOWN"
> - exitcide = 3
> + exitcode = 3
> end
>
> puts "PUPPET " + status + ": " + process + ", " + state
>
> -lsd
Here's a git formatted patch, copied to puppet-dev.
ext/nagios/check_puppet.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ext/nagios/check_puppet.rb b/ext/nagios/check_puppet.rb
index 00d9ac9..5013bc5 100755
--- a/ext/nagios/check_puppet.rb
+++ b/ext/nagios/check_puppet.rb
@@ -102,7 +102,7 @@ class CheckPuppet
exitcode = 2
when 3
status = "UNKNOWN"
- exitcide = 3
+ exitcode = 3
end
puts "PUPPET " + status + ": " + process + ", " + state
--
1.6.4.2
--
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Never attribute to malice that which can be adequately explained by
stupidity.
-- Hanlon's Razor
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---