[chef] Re: How do you use tags?


Chronological Thread 
  • From: Eric Reeves < >
  • To:
  • Subject: [chef] Re: How do you use tags?
  • Date: Tue, 14 May 2013 08:03:23 -0500

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.

§