[chef] Re: Re: A question about override_attributes


Chronological Thread 
  • From: JJ Asghar < >
  • To: " " < >
  • Subject: [chef] Re: Re: A question about override_attributes
  • Date: Tue, 28 May 2013 15:48:23 +0000
  • Accept-language: en-US

It looks like this can work:

Node Attributes

Finally, the node object can be modified directly to set the attributes. Typically, this sets attributes at the normal priority level, and can be done by editing the node with knife or through the WebUI, or by passing JSON data to the node.


Does anyone have an example on this?



Best Regards,
JJ Asghar
e: | c: 512.619.0722 | o: 512.977.5876



I believe when you edit a node you want to set the precedence to be "normal" level attribute which is above the default attribute level.

I don't believe override attributes can be edited in the node data.  


On Tue, May 28, 2013 at 11:31 AM, JJ Asghar < " target="_blank"> > wrote:
All,

When I type out knife environment edit staging, I get a json file that I can edit.  This is great, I love it.  Unfortunately I'd like to be able to edit some override_attributes on a per node basis, and it seems override_attributes doesn't work when I do knife node edit node1.  Any advice? If I needed a per node override, any suggestions?

Thanks in advance!






Archive powered by MHonArc 2.6.16.

§