Issue #2676 has been reported by Stephen P. Schaefer.

----------------------------------------
Bug #2676: lib/puppet/agent.rb apparent typo
http://projects.reductivelabs.com/issues/2676

Author: Stephen P. Schaefer
Status: Unreviewed
Priority: Low
Assigned to: 
Category: agent
Target version: 
Affected version: 0.25.0
Keywords: 
Branch: 


This appears to be a typo; I suspect it would trigger a NameError exception of 
its own, to be picked up by an outer rescue.

$ git diff agent.rb
diff --git a/lib/puppet/agent.rb b/lib/puppet/agent.rb
index 7d8ea7a..5bc8e01 100644
--- a/lib/puppet/agent.rb
+++ b/lib/puppet/agent.rb
@@ -123,7 +123,7 @@ class Puppet::Agent
         begin
             @client = client_class.new
         rescue => details
-            puts detail.backtrace if Puppet[:trace]
+            puts details.backtrace if Puppet[:trace]
             Puppet.err "Could not create instance of %s: %s" % [client_class, d
             return
         end



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to