summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/puppet/transaction.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet/transaction.rb b/lib/puppet/transaction.rb
index a7862aea2..d115fbfe7 100644
--- a/lib/puppet/transaction.rb
+++ b/lib/puppet/transaction.rb
@@ -159,6 +159,7 @@ class Transaction
if children = resource.eval_generate
copy_relationships(resource, children)
@generated += children
+ children.each { |child| child.finish }
return children
end
end
@@ -313,6 +314,7 @@ class Transaction
@resources.add_vertex!(res)
newlist << res
@generated << res
+ res.finish
end
end
end