- From: <
>
- To:
- Subject: [chef] Cookbook Dependency Version Question
- Date: Wed, 15 May 2013 15:54:36 -0700 (PDT)
Ohai!,
Google and docs.opscode.com haven't yielded me any answers so hoping someone
might shed some light on how conflicting depedencies versions are handled.
The
recent discussions around wrapper cookbooks and library cookbooks had sparked
some discussion for us, albeit the question is more general than the wrapper
cookbook stuff.
Given the following scenario:
* Cookbook1 with versions 1.0.0 and 2 on the chef server
* Cookbook2 has `depends "Cookbook1", "= 1.0.0"`
* Cookbook3 has `depends "Cookbook1", "= 2.0.0"`
From what I've seen in the cookbook cache, it seems that only one copy of any
cookbook is every downloaded locally. If so I assume the above example false
into the "don't do this" category?
What is the best way to handle situations where you have multiple cookbooks
that might have a common dependency, but each of those cookbooks might want a
different version of that dependency?
Thanks
- [chef] Cookbook Dependency Version Question, davidpetzel, 05/15/2013
Archive powered by MHonArc 2.6.16.