summaryrefslogtreecommitdiff
path: root/lib/chef/provider/template
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/template')
-rw-r--r--lib/chef/provider/template/content.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/chef/provider/template/content.rb b/lib/chef/provider/template/content.rb
index f26b7a5b92..9de9ad9ea2 100644
--- a/lib/chef/provider/template/content.rb
+++ b/lib/chef/provider/template/content.rb
@@ -39,8 +39,6 @@ class Chef
context = TemplateContext.new(@new_resource.variables)
context[:node] = @run_context.node
context[:template_finder] = template_finder
- context._define_helpers(@new_resource.inline_helper_blocks)
- context._define_helpers_from_blocks(@new_resource.inline_helper_modules)
context._extend_modules(@new_resource.helper_modules)
file = nil
render_template(IO.read(template_location), context) { |t| file = t }