[chef] Re: Container cookbooks vs roles


Chronological Thread 
  • From: Ranjib Dey < >
  • To:
  • Subject: [chef] Re: Container cookbooks vs roles
  • Date: Tue, 11 Jun 2013 12:35:05 -0700


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.

§