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

berks install broken (v2.0.*) #1235

Closed
dhawal55 opened this issue Jun 12, 2014 · 6 comments
Closed

berks install broken (v2.0.*) #1235

dhawal55 opened this issue Jun 12, 2014 · 6 comments

Comments

@dhawal55
Copy link

First, gem install berkshelf -v 2.0.* is broken as it cannot resolve buff-extensions dependency.

ERROR: While executing gem ... (Gem::DependencyError)
Unable to resolve dependencies: ridley requires buff-extensions (> 0.3); buff-config requires buff-extensions (> 0.3)

I got past that issue by manually install buff-extensions.

Now i get an error when using berks install:
`raise_if_conflicts': Unable to activate buff-config-0.4.0, because buff-extensions-1.0.0 conflicts with buff-extensions (~> 0.3) (Gem::LoadError)

I'm using ruby version 1.9.3p484 (2013-11-22) [i386-mingw32]

@sethvargo
Copy link
Contributor

Hi @dhawal55. Thank you for the report. Unfortunately Berkshelf 2 is no longer supported. I would recommend upgrading to Berkshelf 3 and using the Chef DK installer.

Please let me know if you have problems with the ChefDK installer.

@dhawal55
Copy link
Author

ChekDK installer is not available for windows yet. And I need to setup Berks API for using Berkshelf 3.0 with Chef server.

Is there anyway to use use Berks 3.0 with Chef solo without having to setup Berks API?

@sethvargo
Copy link
Contributor

@dhawal55 if you are using all community cookbooks, you do not need a Berkshelf API server. It's only when you have custom versioned cookbooks internally that you need to run a cookbook store and API server.

@rajivr
Copy link

rajivr commented Jun 12, 2014

@dhawal55 If you are on a RedHat/CentOS/Fedora/Amazon Linux kind of distro, please let me know and I'll provide you with a RPM (omnibus) build of Berkshelf 2.0.16 that we're using along with Chef Solo. Through Vagrant you'll be able to manage your cookbooks as outlined below.

http://lists.opscode.com/sympa/arc/chef/2014-05/msg00215.html

Chef DK will eventually get there, but right now this approach is very stable for us and am happy to share the RPM if it is going to be useful to you. Thank you!

@dhawal55
Copy link
Author

Thank you for the quick response. I'm working with custom cookbooks (enterprise chef server) on windows. So the above answers don't help me.

@jacketattack
Copy link

Using berkshelf version 2.0.18, I was having this issue whenever I tried to run any berks command and found a solution by specifically installing version 0.3.2 of varia_model. This removes the need for buff-extensions 1.0.0.

gem uninstall varia_model --force
gem install varia_model -v 0.3.2

@berkshelf berkshelf locked and limited conversation to collaborators Jun 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants