summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Roberts <Markus@reality.com>2009-09-24 13:45:49 -0700
committerJames Turnbull <james@lovedthanlost.net>2009-09-25 08:26:08 +1000
commitd891f7acd190637ea7adc19d51f1961e2021e835 (patch)
tree8fd36ccd0f14bddaa6c319928a787f39ce959be6
parentbfba2cdf8787f1e7fa778bba1b74c03fc06634cd (diff)
downloadpuppet-d891f7acd190637ea7adc19d51f1961e2021e835.tar.gz
puppet-d891f7acd190637ea7adc19d51f1961e2021e835.tar.xz
puppet-d891f7acd190637ea7adc19d51f1961e2021e835.zip
Ticket #2676 (a typo)
Signed-off-by: Markus Roberts <Markus@reality.com> Signed-off-by: Markus Roberts <Markus@reality.com>
-rw-r--r--lib/puppet/agent.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/agent.rb b/lib/puppet/agent.rb
index 7d8ea7a60..a188df39e 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