diff options
Diffstat (limited to 'lib/puppet/transaction.rb')
-rw-r--r-- | lib/puppet/transaction.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/puppet/transaction.rb b/lib/puppet/transaction.rb index 7a3b761b7..4207992a4 100644 --- a/lib/puppet/transaction.rb +++ b/lib/puppet/transaction.rb @@ -76,6 +76,9 @@ class Transaction # event if they want events = [change.forward].flatten.reject { |e| e.nil? } rescue => detail + if Puppet[:debug] + puts detail.backtrace + end change.state.err "change from %s to %s failed: %s" % [change.state.is_to_s, change.state.should_to_s, detail] @failures[child] += 1 @@ -299,7 +302,7 @@ class Transaction # but a chmod failed? how would i handle that error? dern end - collecttargets(events) + collecttargets(events) if events # Now check to see if there are any events for this child. # Kind of hackish, since going backwards goes a change at a |