summaryrefslogtreecommitdiffstats
path: root/lib/puppet/network
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2008-11-23 00:56:38 -0600
committerJames Turnbull <james@lovedthanlost.net>2008-11-25 14:11:00 +1100
commitbbad9831577a123cc5f6bd7f04836f483c9e8f6f (patch)
tree7dd57ec825adbf6a6acba1e999ef3de61802339c /lib/puppet/network
parentb415848841edac9b08ff604416ad2e24dd350b4d (diff)
downloadpuppet-bbad9831577a123cc5f6bd7f04836f483c9e8f6f.tar.gz
puppet-bbad9831577a123cc5f6bd7f04836f483c9e8f6f.tar.xz
puppet-bbad9831577a123cc5f6bd7f04836f483c9e8f6f.zip
Removing the included testing gems; you must now install them yourself.
Everything passes, but autotest doesn't include color. Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'lib/puppet/network')
-rw-r--r--lib/puppet/network/xmlrpc/client.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/puppet/network/xmlrpc/client.rb b/lib/puppet/network/xmlrpc/client.rb
index c79f91d57..37ace2101 100644
--- a/lib/puppet/network/xmlrpc/client.rb
+++ b/lib/puppet/network/xmlrpc/client.rb
@@ -73,7 +73,9 @@ module Puppet::Network
rescue Timeout::Error => detail
Puppet.err "Connection timeout calling %s.%s: %s" %
[namespace, method, detail.to_s]
- raise XMLRPCClientError.new("Connection Timeout").set_backtrace(detail.backtrace)
+ error = XMLRPCClientError.new("Connection Timeout")
+ error.set_backtrace(detail.backtrace)
+ raise error
rescue => detail
if detail.message =~ /^Wrong size\. Was \d+, should be \d+$/
Puppet.warning "XMLRPC returned wrong size. Retrying."