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


Chronological Thread 
  • From: Ranjib Dey < >
  • To:
  • Subject: [chef] Re: Syntax for using git in knife.rb file
  • Date: Thu, 13 Jun 2013 08:57:02 -0700

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.

§