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

Problems getting erlang 1.5.x version on Ubuntu 14.04 #336

Closed
gprakashmosaixsoft opened this issue Jan 28, 2016 · 3 comments
Closed

Problems getting erlang 1.5.x version on Ubuntu 14.04 #336

gprakashmosaixsoft opened this issue Jan 28, 2016 · 3 comments

Comments

@gprakashmosaixsoft
Copy link

When I install this cookbook with

knife cookbook site install rabbitmq -o ./cookbooks

and then try to run
chef-client -z -o rabbitmq

I get

Error Resolving Cookbooks for Run List:

Missing Cookbooks:

Could not satisfy version constraints for: erlang

I don't know why even though your metadata file says ~>1.5.0, knife installs erlang version 2.0.1 (the latest). Does anyone know what I can do to get around this?

Thanks

Gagan Prakash

@jjasghar
Copy link
Contributor

I'd suggest pulling down the older version of erlang cookbook and uploading it to your chef server. I haven't updated this cookbook for the newer version of erlang yet, but I'm due for a refresh on this cookbook very soon.

@jjasghar
Copy link
Contributor

Please give that a try, I'm going to close this, but reopen if you still have issues.

@gprakashmosaixsoft
Copy link
Author

So I asked in the chef irc and it seems the issue is related to knife not being a very good dependency manager so I switched to Bershelf and that seems to allow me to restrict the erlang version to 1.5.8 so things work.

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

2 participants