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


Chronological Thread 
  • From: Oliver Beattie < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Repositories and git
  • Date: Mon, 18 Jul 2011 22:15:00 +0100

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?

On 18 July 2011 22:02, Noah Kantrowitz < "> > wrote:
And it should only do that if it detects it is in a git repo anyway.

--Noah

On Jul 18, 2011, at 2:01 PM, Jeffrey Hulten wrote:

> In think the only time Git is invoked is when you use knife cookbook site vendor <name>. It's really only a shortcut for people that use Git since you could do all those steps by hand...
>
> Sent from my iPad
>
> On Jul 18, 2011, at 1:46 PM, Noah Kantrowitz < "> > wrote:
>
>> Chef never uses git itself, you upload the cookbooks and other data to the chef-server via knife and clients interface with it from there (or, if you use solo, it just looks in a local folder of your choosing). If you want to use git to version things you are encouraged to (or hg, subversion, etc), but it isn't tied in to Chef itself.
>>
>> --Noah
>>
>> On Jul 18, 2011, at 1:36 PM, Oliver Beattie wrote:
>>
>>> Hi there,
>>>
>>> This may seem like a really basic question, and I feel I've probably missed some really elemental "aha moment" that most people get within 10 seconds, but I'm struggling to understand how repositories work with git.
>>>
>>> For instance, is it possible to clone the repository and add cookbooks to it locally? When I try it (via use of Knife) I just get an error saying /srv/chef/{something} doesn't exist. I'm assuming to get the benefits of a (D)VCS this must be possible?
>>>
>>> Thanks (and apologies if I'm being terribly dense).
>>





Archive powered by MHonArc 2.6.16.

§