On Tue, Nov 30, 2010 at 7:18 PM, Jesse Callaway < > wrote:I figured out a workaround. Looking in the rdocs for chef I found a name()
method in the Node class. So the template now has
node_name "<%= node.name() %>"
So this allows nodes which are not registered by their fqdn to have the
chef::client_service recipe in their run list.
What was wrong with the syntax of node[:name]? I'm still learning!
The node name isn't an attribute the way that attributes set by ohai
or your recipes are, so you can't access it in the same way.
-jesse
Dan DeLeo
Archive powered by MHonArc 2.6.16.