- From: Peter Donald <
>
- To: Chef Dev <
>
- Subject: [chef-dev] Re: Re: Re: Re: Add "url" to depends/metadata ?
- Date: Mon, 19 Nov 2012 22:42:50 +1100
On Fri, Nov 16, 2012 at 7:38 AM, Peter Donald
<
>
wrote:
>
On Thu, Nov 15, 2012 at 6:42 PM, Kevin Nuckolls
>
<
>
>
wrote:
>
> I've always thought that include_recipe is an anti-pattern if you're
>
> including recipes outside of the cookbook you're in.
>
...
>
>
While I can see how you have got to the place you are currently at, it
>
is almost the exact opposite to where we are.
>
>
We started out using your approach but as roles are un-versioned or we
>
wanted more complex logic in resolving our attributes between
>
roles/environments/nodes we found ourselves engineered into a dead
>
end. Our roles now all include one recipe, the so called "role
>
recipe".
And I decided to clarify the idea with a blog post.
http://realityforge.org/code/2012/11/19/role-cookbooks-and-wrapper-cookbooks.html
HTH,
Peter Donald
Archive powered by MHonArc 2.6.16.