- From: Roland Moriz <
>
- To:
- Subject: [chef] Re: Branches as an alternative to environments?
- Date: Thu, 24 Feb 2011 18:43:40 +0100
Hi,
Am 24.02.11 17:20, schrieb Michael Hale:
>
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.
I do the switching based on the current active git branch OR through
environment variables which allows me a great flexibility (I have to
switch between different organizations and environments regularly)
https://gist.github.com/842491
This works with the default rake tasks of a cloned "chef-repo" e.g.
rake upload_cookbooks
rake roles
...
regards
Roland
Archive powered by MHonArc 2.6.16.