[chef] Re: Re: Re: Overriding cookbook attributes in a role - am I doing it wrong?


Chronological Thread 
  • From: "Mark J. Reed" < >
  • To:
  • Subject: [chef] Re: Re: Re: Overriding cookbook attributes in a role - am I doing it wrong?
  • Date: Tue, 23 Nov 2010 15:33:30 -0500
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=vOEB0gf9JKmgZJUQl7DmIQ1IR6hkxEq+tO2nyAdJ1/qeNNZST+DHi7Sjrg3pi6znZN L7wsdXfzPcqmOEvXVnU1r5/77MCLwTTCsgI6XHDkbsUhRhExorAExXg4mi4rDJHyYZbo NCYy1yrtk9Q+NL07iouE0rmulhRJ30mud5mQU=

On Tue, Nov 23, 2010 at 3:10 PM, Mike Williams
< >
 wrote:
> Do the node attributes actually get "updated", ie. persisted?  I assumed 
> that the role attributes and cookbook attributes would just be merged with 
> the node attributes at chef-client runtime.

That depends on the type of node, and that's a good point.  Default
values are computed at runtime and, since 0.9.0, not persisted - which
means they won't show up in "knife node show".  So you'd have to have
a recipe running on the node output the values (or examine the node
object interactively in shef) to see the computed values.


-- 
Mark J. Reed 
< >



Archive powered by MHonArc 2.6.16.

§