[chef] Re: Re: Re: Container cookbooks vs roles


Chronological Thread 
  • From: Larry Wright < >
  • To:
  • Subject: [chef] Re: Re: Re: Container cookbooks vs roles
  • Date: Tue, 11 Jun 2013 16:20:54 -0500

This is what I'm thinking, but I'm curious: what use cases do you have for versioning roles?

Thanks

-- 
Larry Wright

On Tuesday, June 11, 2013 at 4:19 PM, Bryan Stenson wrote:

<horse><dead><beating>The lack of versioning makes the role argument a non-starter, for me...</horse></dead></beating>


On Tue, Jun 11, 2013 at 12:35 PM, Ranjib Dey < " target="_blank"> > wrote:

i use a combination of both, if i can achieve my customizations just by means of attributes and aggregating recipes, i always prefer to use roles. Its cleaner, by design roles does not allow any logic except attributes and a run list. If i need anything more than this, i use cookbooks/recipes.

 


On Tue, Jun 11, 2013 at 12:31 PM, Larry Wright < " target="_blank"> > wrote:
A few months ago there was some discussion about using cookbooks as containers in place of roles. This started with a blog post that advocated always using cookbooks in place of roles, as I recall (though I can't seem to find it at the moment). Some discussions at work have got me to thinking this might be a useful thing in some cases, so I'm wondering how many of you are actually doing this and what you have found the pros/cons of this approach to be.

Thanks in advance

-- 
Larry Wright







Archive powered by MHonArc 2.6.16.

§