- From: Mathias Lafeldt <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: Re: git clone failes when used in recipe
- Date: Tue, 19 Nov 2013 20:34:46 +0100
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:
>
https://help.github.com/articles/managing-deploy-keys
>
>
--
>
Daniel DeLeo
>
Archive powered by MHonArc 2.6.16.