summaryrefslogtreecommitdiffstats
path: root/lib/puppet/transaction.rb
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2005-09-17 02:44:32 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2005-09-17 02:44:32 +0000
commit106d397bc0de9512b24724c5b3ed95db501671ea (patch)
treed6faae5ea8e1d5801893921b5f382ad0ff85c936 /lib/puppet/transaction.rb
parent42deabbe80de28ca7e086568cdb0fe670415893b (diff)
downloadpuppet-106d397bc0de9512b24724c5b3ed95db501671ea.tar.gz
puppet-106d397bc0de9512b24724c5b3ed95db501671ea.tar.xz
puppet-106d397bc0de9512b24724c5b3ed95db501671ea.zip
Users and groups now nearly work on normal machines and on os x, and I think I have a decent platform for expansion to some of the other important elements like hosts (probably most important after users and groups). Some tests are still failing on os x, because netinfo sucks, but I will hopefully be able to figure out a solution soon. Stupid OS X and NetInfo.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@684 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/transaction.rb')
-rw-r--r--lib/puppet/transaction.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/puppet/transaction.rb b/lib/puppet/transaction.rb
index 2b8d93bbf..b44393efd 100644
--- a/lib/puppet/transaction.rb
+++ b/lib/puppet/transaction.rb
@@ -58,8 +58,13 @@ class Transaction
#@@changed.push change.state.parent
rescue => detail
Puppet.err("%s failed: %s" % [change,detail])
+ if Puppet[:debug] and detail.respond_to?(:stack)
+ puts detail.stack
+ end
next
- # FIXME this should support using onerror to determine behaviour
+ # FIXME this should support using onerror to determine
+ # behaviour; or more likely, the client calling us
+ # should do so
end
if events.nil?