[chef] Re: Re: 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: Re: Re: git clone failes when used in recipe
  • Date: Wed, 20 Nov 2013 14:53:54 -0200

This is a dependency problem, I reckon between httparty’s and Chef’s json.

I’m looking into the problem and should have a solution soon.

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

On Wednesday, November 20, 2013 at 13:34, Ravindra wrote:


I'm using deploy_key resource to upload ssh key and then using git resource to
clone the repository. I'm getting below mentioned compilation error.

================================================================================
Recipe Compile Error in
c:/chef/cache/cookbooks/deploy_key/libraries/deploy_key.rb
================================================================================

Gem::LoadError
--------------
Unable to activate httparty-0.12.0, because json-1.7.7 conflicts with json (~>
1.8)

Cookbook Trace:
---------------
c:/chef/cache/cookbooks/deploy_key/libraries/deploy_key.rb:22:in `<top
(required)>'


Here is how my recipe looks like.

deploy_key "bitbucket_key" do
provider Chef::Provider::DeployKeyBitbucket
path 'C:\Windows\Temp'
credentials({
:user => 'my_user',
:password => "my_passowrd"
})
repo 'organization/repo/path'
action :add
end

git "C:\\ABC" do
user "my_user"
action :checkout
end




Archive powered by MHonArc 2.6.16.

§