Signed-off-by: Markus Roberts <[email protected]>
Signed-off-by: Markus Roberts <[email protected]>
---
lib/puppet/agent.rb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/puppet/agent.rb b/lib/puppet/agent.rb
index 7d8ea7a..a188df3 100644
--- a/lib/puppet/agent.rb
+++ b/lib/puppet/agent.rb
@@ -122,9 +122,9 @@ class Puppet::Agent
def with_client
begin
@client = client_class.new
- rescue => details
+ rescue => detail
puts detail.backtrace if Puppet[:trace]
- Puppet.err "Could not create instance of %s: %s" % [client_class,
details]
+ Puppet.err "Could not create instance of %s: %s" % [client_class,
detail]
return
end
yield @client
--
1.6.4
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Developers" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---