[chef] Re: How do you use tags?


Chronological Thread 
  • From: Tetsu Soh < >
  • To:
  • Subject: [chef] Re: How do you use tags?
  • Date: Tue, 14 May 2013 22:19:04 +0900

Hello,

Be careful tags have no version info, name space and  are global.

If someone touched your tags, it may break your system.

So make sure you define rules for naming tags and access control for modify tags.

Regards.

Tetsu

On May 14, 2013, at 10:03 PM, Eric Reeves < "> > wrote:

We have been refactoring our cookbooks to locate other nodes/services using Tags instead of searching for a Role or Recipe in the run_list.  This gives us some useful capabilities…  Instead of your load balancer searching by Role/Recipe and immediately discovering in your new node, you can validate the node before adding the Tag to it and bringing it in to production.  Or vice-versa, you could pull a node from the LB pool without modifying its run_list by simply removing the Tag.  The same could be achieved by using a custom Attribute, but Tags are convenient.

On May 14, 2013, at 4:42 AM, Larry Wright wrote:

Node tags are one of those things I've never really had an opportunity to use. I've always used roles for the sort of use cases that tags seem to be made for. They were brought up in a conversation I had recently, however, which got me wondering... what real world uses have people found for node tags?





Archive powered by MHonArc 2.6.16.

§