summaryrefslogtreecommitdiff
path: root/lib/chef/resource/ruby_block.rb
diff options
context:
space:
mode:
authorMarc Chamberland <mchamberland@pbsc.com>2019-04-25 23:58:27 -0400
committerMarc Chamberland <mchamberland@pbsc.com>2019-04-26 00:24:33 -0400
commit0fb79f0a5f8d2c8ca1f9ddb0d0b0267b300dc81f (patch)
tree7984d75e847846eb31923fd26ef51e625d55a0d5 /lib/chef/resource/ruby_block.rb
parent66c0fdeb65c19d267bd501550e60cd16d7bb4901 (diff)
downloadchef-0fb79f0a5f8d2c8ca1f9ddb0d0b0267b300dc81f.tar.gz
chef-client => Chef::Dist::CLIENT
Signed-off-by: Marc Chamberland <mchamberland@pbsc.com>
Diffstat (limited to 'lib/chef/resource/ruby_block.rb')
-rw-r--r--lib/chef/resource/ruby_block.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/resource/ruby_block.rb b/lib/chef/resource/ruby_block.rb
index 911e6203d8..0ec6647fd8 100644
--- a/lib/chef/resource/ruby_block.rb
+++ b/lib/chef/resource/ruby_block.rb
@@ -19,11 +19,12 @@
require "chef/resource"
require "chef/provider/ruby_block"
+require "chef/dist"
class Chef
class Resource
class RubyBlock < Chef::Resource
- description "Use the ruby_block resource to execute Ruby code during a chef-client run."\
+ 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"\
" before other resources, as the recipe is compiled."