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


Chronological Thread 
  • From: KC Braunschweig < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Repositories and git
  • Date: Mon, 18 Jul 2011 14:21:24 -0700

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.

§