[chef] Re: Re: Re: Re: Re: git clone failes when used in recipe


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: git clone failes when used in recipe
  • Date: Tue, 19 Nov 2013 11:02:30 -0800


On Tuesday, November 19, 2013 at 10:40 AM, Ravindra Chandrakar wrote:

Daniel, Thanks for the info. I'm not sure how to achieve this.

In my case, I'm installing git client at run time using recipe and then cloning the repo.

Regards,
Ravindra

In most cases you want to use SSH authentication, so you need to put a private_key that github accepts in root’s .ssh directory and configure git to use that key.

You probably want to use a deploy key or machine user as described here: https://help.github.com/articles/managing-deploy-keys

-- 
Daniel DeLeo




Archive powered by MHonArc 2.6.16.

§