[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, upstream, updated. 0.25.5-639-g8f94f35

test branch puppet-dev at googlegroups.com
Wed Jul 14 10:34:18 UTC 2010


The following commit has been merged in the upstream branch:
commit f80b4c73bb17af8b103cbc2562f8617755e93d3f
Author: David Schmitt <david at dasz.at>
Date:   Wed May 19 19:36:51 2010 +0200

    Print stacktraces if requested

diff --git a/lib/puppet/ssl/host.rb b/lib/puppet/ssl/host.rb
index 8b45567..f367ada 100644
--- a/lib/puppet/ssl/host.rb
+++ b/lib/puppet/ssl/host.rb
@@ -230,6 +230,7 @@ class Puppet::SSL::Host
         rescue SystemExit,NoMemoryError
             raise
         rescue Exception => detail
+            puts detail.backtrace if Puppet[:trace]
             Puppet.err "Could not request certificate: %s" % detail.to_s
             if time < 1
                 puts "Exiting; failed to retrieve certificate and waitforcert is disabled"
@@ -251,6 +252,7 @@ class Puppet::SSL::Host
                 break if certificate
                 Puppet.notice "Did not receive certificate"
             rescue StandardError => detail
+                puts detail.backtrace if Puppet[:trace]
                 Puppet.err "Could not request certificate: %s" % detail.to_s
             end
         end

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list