- From: Sam Darwin <
>
- To:
- Subject: [chef] using Berkshelf
- Date: Wed, 19 Mar 2014 11:52:05 -0700 (PDT)
Hi,
I have just started reading about Berkshelf. The first thing which comes
to mind, is the fact that cookbooks are not like ruby gems: because it's nice
to customize cookbooks. Usually the ruby gems can be used as-is.
So, let's say you write a wrapper customized nginx cookbook, and pull in a
community nginx cookbook from Berkshelf. What causes them to mesh/overlap?
Does the "depends" statement, or the "include_recipe" statement cause all
aspects of the community cookbook to be exposed and available to the
customized
cookbook? i.e. not just the recipes, but all the templates, files,
definitions, etc are imported to the new cookbook? which command does that?
Secondly, let's say you want to customize only a small aspect. Modify only a
single template. modify a single attribute. modify a small part of a
recipe.
How does these things integrate ? How does the community cookbook and your
new customized cookbook come together, into a brand new super cookbook?
- [chef] using Berkshelf, Sam Darwin, 03/19/2014
Archive powered by MHonArc 2.6.16.