summaryrefslogtreecommitdiff
path: root/lib/chef/resource/ruby_block.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/ruby_block.rb')
-rw-r--r--lib/chef/resource/ruby_block.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/resource/ruby_block.rb b/lib/chef/resource/ruby_block.rb
index 92e1f926bf..c0cb4d95e4 100644
--- a/lib/chef/resource/ruby_block.rb
+++ b/lib/chef/resource/ruby_block.rb
@@ -24,6 +24,8 @@ require_relative "../dist"
class Chef
class Resource
class RubyBlock < Chef::Resource
+ provides :ruby_block, target_mode: true
+
description "Use the ruby_block resource to execute Ruby code during a #{Chef::Dist::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"\