[chef] Re: Re: Add tag to chef node on knife ec2 server create


Chronological Thread 
  • From: Nuo Yan < >
  • To:
  • Subject: [chef] Re: Re: Add tag to chef node on knife ec2 server create
  • Date: Sun, 12 Aug 2012 11:05:57 -0700

-T adds AWS tags, Chef also has tags for its nodes. 

The answer (in case anybody else has similar need), --json-attributes "{\"tags\":[\"TAG_NAME\"]}" would allow adding chef tags (or any other arbitrary attributes) to the node.

On Tue, Jul 3, 2012 at 12:46 PM, John Dyer < " target="_blank"> > wrote:
Nuo,

  I am not really following you question....  I mean when you run the command "knife ec2 server create....." w/ the -T parameter you are creating an instance and tagging it.  So what else is it that you are looking to accomplish here? 

-John


On Tue, Jul 3, 2012 at 3:38 PM, Nuo Yan < " target="_blank"> > wrote:
I know that it's now possible to add a AWS tag when starting an instance with knife ec2 server create using -T or --tags, but I'm looking for the ability to add a tag to the chef node at the time of server creation. Does such ability exist right now with knife-ec2 (doesn't appear so when I was reading the help document)? Should I create a ticket for it on tickets.ospcode.com?




  • [chef] Re: Re: Add tag to chef node on knife ec2 server create, Nuo Yan, 08/12/2012

Archive powered by MHonArc 2.6.16.

§