[chef] Chef, test-kitchen, vagrant and net-ssh fun


Chronological Thread 
  • From: "Julian C. Dunn" < >
  • To:
  • Subject: [chef] Chef, test-kitchen, vagrant and net-ssh fun
  • Date: Wed, 13 Feb 2013 17:37:10 -0500

Well maybe "fun" isn't quite the right word.

* I have Chef 10.22.0.
* I have test-kitchen 0.7.0.
* I installed Vagrant from Gems, because if I don't, test-kitchen won't find the Vagrant gems.
* I want to run test-kitchen under Vagrant. I get this:

$ kitchen test
/Users/jdunn/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/rubygems/specification.rb:1637:in `raise_if_conflicts': Unable to activate chef-10.22.0, because net-ssh-2.2.2 conflicts with net-ssh (~> 2.6) (Gem::LoadError)

It looks like Chef depends on net-ssh 2.6, and vagrant depends on net-ssh-2.2.2. So kitchen won't start.

Does anyone have a workaround for this conflict?

- Julian



Archive powered by MHonArc 2.6.16.

§