I did something similar at MU to
Jamie's description of an environment cookbook. However, I didn't
see the need to abstract out the environment as a separate
cookbook.
I think it makes sense if one is trying to compose a Berksfile.lock combining multiple interrelated cookbooks. If one is trying to compose a multi-function Berksfile.lock for release, in some cases it might be an unnecessarily complex approach in certain situations. We broke up our org-wrapper cookbooks by functional role, and each org-wrapper had its own isolated environment. Each org-wrapper composed a Berksfile.lock from an org-base dependency and itself, and then applied constraints to its own environment. tl;dr An environment cookbook might make sense to compose a dependency graph for interrelated functional roles (e.g. load balancer; web frontend; database backend for a single environmental application). It seems to me that its just another type of wrapper cookbook. An environment cookbook makes less sense (in my opinion) for disparate functional roles (e.g. mail; dns; time service). One could just tie an isolated environment to this functional wrapper. Eric G. Wolfe email: "> cell: 304.942.3970 twitter: @atomic_penguin Cycle Computing Leader in Utility HPC Software http://www.cyclecomputing.com twitter: @cyclecomputing Dime is money.On 06/01/2014 01:20 PM, Jamie Winsor wrote: " type="cite"> |
Archive powered by MHonArc 2.6.16.