[chef] Re: Not sure what to do for our workflow - cookbooks/roles/environments


Chronological Thread 
  • From: Peter Donald < >
  • To:
  • Subject: [chef] Re: Not sure what to do for our workflow - cookbooks/roles/environments
  • Date: Fri, 22 Mar 2013 09:29:50 +1100

On Fri, Mar 22, 2013 at 8:04 AM, Autif Khan 
< >
 wrote:
> TL;DR - How do I/Can I add a recipe to a role in only one environment?

In short the easiest way is to model roles using cookbooks/recipes
[1]. This allows you to version roles so that different versions could
be deployed in different environments.

[1] 
http://realityforge.org/code/2012/11/19/role-cookbooks-and-wrapper-cookbooks.html



-- 
Cheers,

Peter Donald



Archive powered by MHonArc 2.6.16.

§