summaryrefslogtreecommitdiff
path: root/lib/chef/resource/template.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/template.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/template.rb')
-rw-r--r--lib/chef/resource/template.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/resource/template.rb b/lib/chef/resource/template.rb
index bd8325f2c1..b08bf0b8fb 100644
--- a/lib/chef/resource/template.rb
+++ b/lib/chef/resource/template.rb
@@ -20,6 +20,7 @@
require "chef/resource/file"
require "chef/mixin/securable"
+require "chef/dist"
class Chef
class Resource
@@ -67,7 +68,7 @@ class Chef
property :local, [ TrueClass, FalseClass ],
default: false, desired_state: false,
- description: "Load a template from a local path. By default, the chef-client loads templates from a cookbook’s /templates directory. When this property is set to true, use the source property to specify the path to a template on the local node."
+ description: "Load a template from a local path. By default, the #{Chef::Dist::CLIENT} loads templates from a cookbook’s /templates directory. When this property is set to true, use the source property to specify the path to a template on the local node."
# Declares a helper method to be defined in the template context when
# rendering.