diff options
author | Tim Smith <tsmith@chef.io> | 2018-03-16 11:39:20 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-03-16 13:46:50 -0700 |
commit | c928e064bfa907b3576df2c753a7a3de883ab2ad (patch) | |
tree | ae0c637ef8cfd7f8e46194ad2ef8a4fdf08d0db9 /lib/chef/resource/ruby_block.rb | |
parent | 9b98267b1461a4c04af03caa80fac6216e6cc637 (diff) | |
download | chef-c928e064bfa907b3576df2c753a7a3de883ab2ad.tar.gz |
Add more resource descriptions
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource/ruby_block.rb')
-rw-r--r-- | lib/chef/resource/ruby_block.rb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/chef/resource/ruby_block.rb b/lib/chef/resource/ruby_block.rb index a3cb9e56e5..911e6203d8 100644 --- a/lib/chef/resource/ruby_block.rb +++ b/lib/chef/resource/ruby_block.rb @@ -22,10 +22,12 @@ require "chef/provider/ruby_block" class Chef class Resource - # Use the ruby_block resource to execute Ruby code during a chef-client 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. class RubyBlock < Chef::Resource + description "Use the ruby_block resource to execute Ruby code during a chef-client 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 |