[chef] Re: Berkshelf Frustrations, or, Am I Just Doing It Wrong?


Chronological Thread 
  • From: John Dyer < >
  • To: " " < >
  • Subject: [chef] Re: Berkshelf Frustrations, or, Am I Just Doing It Wrong?
  • Date: Wed, 27 Mar 2013 19:19:16 -0400

Brian / Greg,

 FWIW thhey are working to fix the lockfile in Berkshelf ( https://github.com/RiotGames/berkshelf/issues/274 ).  

-John


On Wednesday, March 27, 2013, Brian Akins < "> > wrote:
> The .lock file doesn't do anything, AFAIK.
>
> What we do (or are moving towards) is never use roles and environments
> as you can't version them.  We use wrapper cookbooks per project that
> use cookbook dependencies (with x.y.z versions) in metdata.rb and set
> node attributes and/or call LWRPs.  We can then roll out new versions
> of the wrapper cookbook incrementally. And we can roll them back
> incrementally as well. We set an explicit version in node's run list
> and have a little bit of tooling to make changing them in a "one, few,
> many, all" manner easier.
>
> It can be a pain, but we can look at a given run list and know exactly
> what version of cookbooks and attributes that "contains."
>
> --Brian
>


Archive powered by MHonArc 2.6.16.

§