c10l / cookbook-deploy_key

Idempotent Chef LWRP for creating, adding, removing and deleting SSH Deploy Keys on Bitbucket and Github
https://supermarket.getchef.com/cookbooks/deploy_key
Other
44 stars 27 forks source link

deloy_key resource gives error #2

Closed ravindrac closed 10 years ago

ravindrac commented 10 years ago

I've a git repository hosted in bitbucket and I'm writing a recipe to clone the recipe suing 'deploy_key' and 'git' resource as mentioned below.

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

git "C:\ABC" do repository "git@bitbucket.org:account/repo.git" user "my_user" action :checkout end

While deploying recipe I'm getting following 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)>'

Environment detail: OS: Windows 2012