- From: Peter Donald <
>
- To:
- Subject: [chef] Re: Re: Re: Cookbook workflows
- Date: Wed, 1 Feb 2012 09:28:36 +1100
Hi,
On Wed, Feb 1, 2012 at 3:51 AM, Torben Knerr
<
>
wrote:
>
- for pulling together a sound baseline of independently versioned cookbooks
>
you can use either git submodules or librarian.
Another alternative that is working well for us is to use braid [1] to
manage external repositories. Braid describes itself as "braid is a
simple tool to help track git or svn repositories inside a git
repository."
The really nice thing that it has over other alternatives is that you
can easily push changes back from the local repo back to the source
repo. An example usage is
# add remote repo
braid add
:realityforge/chef-glassfish.git
cookbooks/glassfish
...
# pull changes from remote repo
braid update cookbooks/glassfish
...
vi cookbooks/glassfish/README.rdoc
...
# diff changes of local repo against remote repo
braid diff cookbooks/glassfish
...
# push changes of local repo back to remote repo
braid push cookbooks/glassfish
So far this has worked better for us than anything else.
[1]
https://github.com/evilchelu/braid/wiki
--
Cheers,
Peter Donald
Archive powered by MHonArc 2.6.16.