summaryrefslogtreecommitdiffstats
path: root/lib/puppet/transaction.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/transaction.rb')
-rw-r--r--lib/puppet/transaction.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/puppet/transaction.rb b/lib/puppet/transaction.rb
index b4d4c8512..33874f83e 100644
--- a/lib/puppet/transaction.rb
+++ b/lib/puppet/transaction.rb
@@ -38,6 +38,7 @@ class Transaction
# Apply all changes for a resource, returning a list of the events
# generated.
def apply(resource)
+ resource.info "Applying"
begin
changes = resource.evaluate
rescue => detail
@@ -458,6 +459,8 @@ class Transaction
# Then splice in the container information
graph.splice!(@resources, Puppet::Type::Component)
+ graph.check_cycle
+
graph(graph, :expanded_relationships)
return graph