Chef tag on bootstrap


#1

Hi All,

I need to add a tag “doAction1” on a node when I bootstrap it - how would I do this on the “knife bootstrap” command?

Cheers,
Simon.


Disclaimer

This message is intended only for the use of the person(s) (“Intended Recipient”) to whom it is addressed. It may contain information which is privileged and confidential. Accordingly any dissemination, distribution, copying or other use of this message or any of its content by any person other than the Intended Recipient may constitute a breach of civil or criminal law and is strictly prohibited. If you are not the Intended Recipient, please contact the sender as soon as possible.

Totaljobs Group Limited Registered Office: Bluefin Building, 110 Southwark Street, London, SE1 0TA, UK Registered in England and Wales under company no. 4269861



#2

On Tuesday, May 12, 2015 at 7:57 AM, Simon Hawkins wrote:

Hi All,

I need to add a tag “doAction1” on a node when I bootstrap it – how would I do this on the “knife bootstrap” command?

Cheers,
Simon.

Tags are just normal attributes under the “tags” key, you can set them using the json attributes option.


Daniel DeLeo