- From: Daniel Condomitti <
>
- To:
- Subject: [chef] Re: chef-role
- Date: Mon, 12 May 2014 08:02:48 -0700
It’s part of the bootstrap process; add --json-attributes to your knife command along with the a string of json to be passed as attributes.
knife bootstrap --json-attributes ‘{“nginx”: {“whatever”: false} }’
As long as your bootstrap template includes logic[0] to write that to the remote filesystem and call chef-client with -j the attributes will be applied. Avoid using “override” in your json attributes unless you absolutely need it.
On Monday, May 12, 2014 at 6:52 AM,
wrote:
HI,
Can anybody send answer how to do chef-client and its json file for
overriding attributes which we need to run from our workstation to a target
node
Thanks,
Indra
Archive powered by MHonArc 2.6.16.