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


Chronological Thread 
  • From: Cassiano Leal < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Re: Re: git clone failes when used in recipe
  • Date: Tue, 19 Nov 2013 17:41:04 -0200

You can also use https://github.com/cassianoleal/cookbook-deploy_key/ to create and register deploy keys on Github and Bitbucket.

--
Cassiano Leal
http://cassianoleal.com
http://twitter.com/cassianoleal

On Tuesday, November 19, 2013 at 17:34, Mathias Lafeldt wrote:

I recommend using https://github.com/fnichol/chef-user to create a
machine user with one or more SSH keys.

-Mathias


On Tue, Nov 19, 2013 at 8:02 PM, Daniel DeLeo < "> > wrote:

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:

--
Daniel DeLeo




Archive powered by MHonArc 2.6.16.

§