diff options
author | Kaushik C <kaushik.chand@gmail.com> | 2015-06-09 16:00:06 -0400 |
---|---|---|
committer | Kaushik C <kaushik.chand@gmail.com> | 2015-07-27 12:52:27 -0400 |
commit | d9820c430b686a1dedd4ab2cadd20b0cadbbb0d7 (patch) | |
tree | 2ff7eef34ce7a81720aee46026ef06b6de61fc20 /lib/chef/mixin | |
parent | ce0c2d7ac2685d4fab78a99bf8fa9838b39a5eb8 (diff) | |
download | chef-d9820c430b686a1dedd4ab2cadd20b0cadbbb0d7.tar.gz |
Fixing Issue #2513 - the broken render of nested partial templates with variables
Authors: Kaushik C <kaushik.chand@gmail.com>, Sam Dunne <sam@sam-dunne.com>
Diffstat (limited to 'lib/chef/mixin')
-rw-r--r-- | lib/chef/mixin/template.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/mixin/template.rb b/lib/chef/mixin/template.rb index d705a9e7be..9b35bbcc33 100644 --- a/lib/chef/mixin/template.rb +++ b/lib/chef/mixin/template.rb @@ -89,6 +89,7 @@ class Chef raise "You cannot render partials in this context" unless @template_finder partial_variables = options.delete(:variables) || _public_instance_variables + partial_variables[:template_finder] = @template_finder partial_context = self.class.new(partial_variables) partial_context._extend_modules(@_extension_modules) |