diff options
Diffstat (limited to 'lib/chef/resource/ruby_block.rb')
-rw-r--r-- | lib/chef/resource/ruby_block.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/ruby_block.rb b/lib/chef/resource/ruby_block.rb index 427c3e25da..03c6bb9ae5 100644 --- a/lib/chef/resource/ruby_block.rb +++ b/lib/chef/resource/ruby_block.rb @@ -31,7 +31,7 @@ class Chef description "Use the **ruby_block** resource to execute Ruby code during a #{ChefUtils::Dist::Infra::PRODUCT} run. Ruby code in the ruby_block resource is evaluated with other resources during convergence, whereas Ruby code outside of a ruby_block resource is evaluated before other resources, as the recipe is compiled." default_action :run - allowed_actions :create, :run + actions :create, :run def block(&block) if block_given? && block |