[chef] Re: Re: Syntax for using git in knife.rb file


Chronological Thread 
  • From: Cassiano Leal < >
  • To:
  • Subject: [chef] Re: Re: Syntax for using git in knife.rb file
  • Date: Thu, 13 Jun 2013 13:50:13 -0300

Or use Berkself, and point the individual cookbooks to their git repos in a Berksfile.

- cassiano

On Thursday, June 13, 2013 at 12:57, Ranjib Dey wrote:

Chef is not git aware. You have to explicitly upload the cookbooks to chef server and chef client can only fetch the recipes from there. If you are using chef solo you can point the cookbook_path in solo.rb to a local git repo.

On Jun 13, 2013 6:34 AM, "Ashutosh Narayan" < "> > wrote:
Hi Folks,

I want to use GIT repository path to be configured in knife.rb file.
What is the syntax for it ?
Basically, I want the cookbooks residing on GIT server to be called
whenever I run chef-client, and not the default cookbook path.
Any pointers ?

Thank you,
-- 
Ashutosh Narayan

http://ashutoshn.wordpress.com/





Archive powered by MHonArc 2.6.16.

§