[chef] Re: Re: Re: Re: Re: Re: Repositories and git


Chronological Thread 
  • From: Oliver Beattie < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Re: Repositories and git
  • Date: Tue, 19 Jul 2011 11:44:42 +0100

Okay, this explains things a lot better.

So, consider the case I want to add a community cookbook to my server. How would I go about doing that?

On 18 July 2011 22:21, KC Braunschweig < "> > wrote:
On Mon, Jul 18, 2011 at 2:15 PM, Oliver Beattie < "> > wrote:
> So, if I understand right, if I want to install a cookbook to my repository,
> I can only do this on the server machine itself, right?

No, you wouldn't work with your chef-repo on your chef server.
Instead, check it out and work with it on your own local workstation
and then use knife and the chef-server API to upload cookbooks to the
chef server (knife cookbook upload <cookbook_name>). Maybe if you get
fancy, you'll build an automated process to push your changes from
revision control onto the chef server, but you always use the API.
Unlike Puppet (at least when I last used it) the server itself never
reads from a local checkout of the repo but expects you to send it
things via the API that it caches in its own way.

KC




Archive powered by MHonArc 2.6.16.

§