- From: Autif Khan <
>
- To:
- Subject: [chef] Re: Re: Not sure what to do for our workflow - cookbooks/roles/environments
- Date: Fri, 22 Mar 2013 10:20:28 -0400
On Thu, Mar 21, 2013 at 6:29 PM, Peter Donald
<
>
wrote:
>
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
>
Thank you very very much.
This is exactly my problem and this should/will resolve our workflow.
Once again - much obliged!
Autif
Archive powered by MHonArc 2.6.16.