- From: Jay Perry <
>
- To: Lamont Granquist <
>
- Cc: Tom Duffield <
>, "
" <
>
- Subject: [chef] Re: Re: Re: Re: Re: More on Cookbook Design Patterns
- Date: Thu, 3 Apr 2014 14:48:08 -0400
Tom/Lamont,
Both of your recommendations are very helpful which I think will help give us a baseline of where we want our cookbooks to go. We have our work cut out for us but I think it's necessary for us to get to be more flexible with the size of our organization.
@Lamont - Just to clarify when you state "your base role" I think you mean "base" cookbook right? I picture all my application cookbooks including the "base" cookbook using 'include_recipe' considering when I'm doing testing with test kitchen I don't have to worry about using a role and just calling the recipe will include/configure the necessary pieces (dns, ldap, yum, apt, etc). The application cookbook would have a depends on the base cookbook via the metadata.rb.
One more thing where would you guys see the decision making happen for deciding what recipes to run based on platform? Say for example configuring yum or apt with our repository endpoints. I was thinking of creating a cookbook called "platform" and this would include an acme_yum or acme_apt based on what platform the node is running under. Is this too much abstraction or would you just create a base::platform and move the decision making there?
Thanks,
Jay
- [chef] Re: Re: More on Cookbook Design Patterns, JayP, 04/02/2014
- [chef] Re: Re: Re: More on Cookbook Design Patterns, Tom Duffield, 04/03/2014
- [chef] Re: Re: Re: Re: More on Cookbook Design Patterns, Jay Perry, 04/03/2014
- [chef] Re: Re: Re: Re: Re: More on Cookbook Design Patterns, Lamont Granquist, 04/03/2014
- [chef] Re: Re: Re: Re: Re: More on Cookbook Design Patterns, Tom Duffield, 04/03/2014
- [chef] Re: Re: Re: Re: Re: More on Cookbook Design Patterns, Lamont Granquist, 04/03/2014
- [chef] Re: Re: Re: Re: Re: More on Cookbook Design Patterns, Jay Perry, 04/03/2014
- [chef] Re: Re: Re: Re: Re: More on Cookbook Design Patterns, Lamont Granquist, 04/03/2014
- [chef] Re: Re: Re: Re: Re: More on Cookbook Design Patterns, Jay Perry, 04/03/2014
- [chef] Re: Re: Re: Re: Re: More on Cookbook Design Patterns, Jason Perry, 04/03/2014
- [chef] Re: Re: Re: Re: Re: More on Cookbook Design Patterns, Lamont Granquist, 04/03/2014
- [chef] Re: Re: Re: Re: Re: More on Cookbook Design Patterns, Jay Perry, 04/03/2014
- [chef] Re: Re: Re: Re: Re: More on Cookbook Design Patterns, Lamont Granquist, 04/03/2014
- [chef] Re: Re: Re: Re: Re: More on Cookbook Design Patterns, Jay Perry, 04/03/2014
- [chef] Re: Re: Re: Re: Re: More on Cookbook Design Patterns, Jay Perry, 04/04/2014
- [chef] Re: Re: Re: Re: Re: More on Cookbook Design Patterns, Lamont Granquist, 04/07/2014
Archive powered by MHonArc 2.6.16.