diff options
author | Andrea Campi <andrea.campi@zephirworks.com> | 2012-11-18 23:44:00 +0100 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2012-12-14 11:10:28 -0800 |
commit | 4eb1b589f1d6c216be5788c501c4328a4967ba4b (patch) | |
tree | c703b1a2331cdf6df0b27dc16d30c0e7bdd8ee58 /lib/chef/mixin/template.rb | |
parent | b8cd17a7e9a2f5e9738400b96df478bab093c7e7 (diff) | |
download | chef-4eb1b589f1d6c216be5788c501c4328a4967ba4b.tar.gz |
[CHEF-3249] Fix nested partials; add a test for that.
Diffstat (limited to 'lib/chef/mixin/template.rb')
-rw-r--r-- | lib/chef/mixin/template.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/mixin/template.rb b/lib/chef/mixin/template.rb index 9288264fcd..deaf66a509 100644 --- a/lib/chef/mixin/template.rb +++ b/lib/chef/mixin/template.rb @@ -36,7 +36,8 @@ class Chef if variables = options.delete(:variables) context = {} context.merge!(variables) - context[:node] = node + context[:node] = @node + context[:template_finder] = @template_finder else context = self.dup end |