- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: newb question about bootstrap client (with knife bootstrap) [sidetrack]
- Date: Thu, 2 Dec 2010 08:56:55 -0800
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
- [chef] Re: Re: Re: Re: Re: newb question about bootstrap client (with knife bootstrap) [sidetrack], Daniel DeLeo, 12/02/2010
Archive powered by MHonArc 2.6.16.