diff options
author | Phil Dibowitz <phil@ipom.com> | 2013-11-21 13:50:26 -0800 |
---|---|---|
committer | Phil Dibowitz <phil@ipom.com> | 2013-11-21 13:50:26 -0800 |
commit | d12a4affa441922255965598ca8b37230fb60712 (patch) | |
tree | a1447b63def6a065848f895332087feaf275fe0a | |
parent | 72ec233c262b1269002ef49a2d12797aa2734c8c (diff) | |
download | chef-d12a4affa441922255965598ca8b37230fb60712.tar.gz |
Add formatter output for whyrun_safe_ruby_block
-rw-r--r-- | chef/lib/chef/provider/whyrun_safe_ruby_block.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chef/lib/chef/provider/whyrun_safe_ruby_block.rb b/chef/lib/chef/provider/whyrun_safe_ruby_block.rb index 2e24cf6967..4b491a4f60 100644 --- a/chef/lib/chef/provider/whyrun_safe_ruby_block.rb +++ b/chef/lib/chef/provider/whyrun_safe_ruby_block.rb @@ -22,6 +22,7 @@ class Chef def action_create @new_resource.block.call @new_resource.updated_by_last_action(true) + @run_context.events.resource_update_applied(@new_resource, :create, "execute the whyrun_safe_ruby_block #{@new_resource.name}") Chef::Log.info("#{@new_resource} called") end end |