diff options
Diffstat (limited to 'lib/puppet/transaction.rb')
-rw-r--r-- | lib/puppet/transaction.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/puppet/transaction.rb b/lib/puppet/transaction.rb index 7199ac3cd..328921ed8 100644 --- a/lib/puppet/transaction.rb +++ b/lib/puppet/transaction.rb @@ -690,7 +690,13 @@ class Transaction if noop resource.notice "Would have triggered %s from %s dependencies" % [callback, subs.length] - return nil + + # And then add an event for it. + return [Puppet::Event.new( + :event => :noop, + :transaction => self, + :source => resource + )] end if subs.length == 1 and subs[0].source == resource |