- From: <
>
- To:
- Subject: [chef] 11.6 template partials don't support node refs?
- Date: Thu, 22 Aug 2013 19:44:18 -0700 (PDT)
When using the 11.6 chef-solo client on Solaris x86, it appears that partials
with node attribute references no longer work. The same templates and partials
worked fine when using 11.4.
<snip>
Chef::Mixin::Template::TemplateError (Could not find a value for node. If you
are explicitly setting variables in a template, include a node variable if you
plan to use it.) on line #11:
9: The deployment "<b><%= @deployment_name %></b>" has been configured with
Solaris <%= node['platform_version'] %>
10:
11: <%= render "partial_linux_access.erb", :variables => {
12: :hostname => @hostname,
13: :ipaddress => @ipaddress,
/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.0/lib/chef/mixin/template.rb:139:in
`rescue in _render_template'
</snip>
When I replace the node attribute references with references to passed
variables, the partials work fine.
Has anyone encountered this issue?
- [chef] 11.6 template partials don't support node refs?, cpkampmeier, 08/22/2013
Archive powered by MHonArc 2.6.16.