Module: Chef::Mixin::Template::ChefContext

Defined in:
lib/chef/mixin/template.rb

Instance Method Summary collapse

Instance Method Details

#nodeObject



27
28
29
30
31
# File 'lib/chef/mixin/template.rb', line 27

def node
  return @node if @node
  raise "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."
end