Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deloy_key resource gives error #2

Closed
ravindrac opened this issue Nov 21, 2013 · 0 comments
Closed

deloy_key resource gives error #2

ravindrac opened this issue Nov 21, 2013 · 0 comments

Comments

@ravindrac
Copy link

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

@c10l c10l closed this as completed in 12692bd Nov 29, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant