[chef] Re: Branches as an alternative to environments?


Chronological Thread 
  • From: James < >
  • To:
  • Cc: Michael Hale < >
  • Subject: [chef] Re: Branches as an alternative to environments?
  • Date: Thu, 24 Feb 2011 12:13:16 -0500

Personally, I prefer to keep my cookbooks and roles the same across environments, and mediate differences via data_bags. The branches in my cookbooks repo are works in progress, and will eventually be merged back into master. I have not yet looked at how environments are implemented in 0.10, however. 

On Thu, Feb 24, 2011 at 11:20 AM, Michael Hale < "> > wrote:
Has anyone thought about using git branches as an alternative to environments?

* Branches already provide a nice mechanism for associating a
particular set of cookbook/role/data_bag versions together as a named
thing.
* git push chef-server master (ala heroku deploy) besides being really
cool, could be really fast as well.
* Using a branch keeps me from having to maintain cookbook version
numbers manually.

Thoughts?




Archive powered by MHonArc 2.6.16.

§