- From: Edward Sargisson <
>
- To:
- Subject: [chef] Re: Customizing cookbooks
- Date: Tue, 23 Oct 2012 05:21:50 -0700
That's how I've been doing it.
Note that knife cookbook site install will do the branch, tag and merge for
you.
There is a gotcha where if it downloads dependencies that you've
already updated then there will be no changes for git and the process
stops - however the cookbook you wanted will have worked.
I also use the git diff process to review every change that is made by
the updated cookbook.
Secondly, (although kind of firstly) I watch each cookbook on the
cookbooks site so that I know when they change.
Cheers,
Edward
On Mon, Oct 22, 2012 at 10:26 AM,
<
>
wrote:
>
I have installed a cookbook to my chef server using knife cookbook site
>
install
>
<COOKBOOK>, and I need to make some customizations to it. I've done that and
>
then pushed it up to my git repo where we're storing all of our cookbooks.
>
>
What is the appropriate way to make sure I am receiving updates from the
>
opscode public repo? Do I just run knife cookbook site install <COOKBOOK>
>
again
>
and then merge the changes with my git repo? Or is there a better way to do
>
that?
Archive powered by MHonArc 2.6.16.