- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Re: Re: cookbook directory names
- Date: Tue, 11 Nov 2014 13:59:23 -0800
On Tuesday, November 11, 2014 at 12:25 PM, Sam Darwin wrote:
>
>
> > why you would do this?
>
>
For chef-solo. So, chef server can store multiple versions of a cookbook,
>
based on metadata, and therefore it's not necessary in that case. With
>
chef-solo, you might at times like to alternate between two versions of
>
another cookbook, and since chef-solo can not simultaneously store
>
different cookbooks in a database, then having them in-parallel such as
>
qwerty-1.0.1 and qwerty-1.2.3 might be helpful. Apparently it can not parse
>
qwerty-1.2.3 though.
We’ve made some changes in Chef 12 to support directory names like this, but
there isn’t a mechanism for chef-solo to pick a preferred version from a
directory containing multiple versions. For chef-solo, I’d recommend using a
tool like berks to get you a set of cookbooks that work together (and you’ve
tested together) and then ship them all together as an artifact.
--
Daniel DeLeo
Archive powered by MHonArc 2.6.16.