matschaffer / knife-solo

DEPRECATED: Please consider using https://knife-zero.github.io/, ansible, or visit https://www.chef.io/ for other ideas
MIT License
786 stars 213 forks source link

Installing github version in chefdk for Windows #523

Open bgiddings opened 6 years ago

bgiddings commented 6 years ago

chef gem build .\knife-solo.gemspec

chef gem install .\knife-solo-0.7.0.pre2.gem

I imagine like a lot of people I'm trying to get knife solo working because I'm forced to use a Windows machine and so I don't have easy access to a Chef server.

The current version of chefdk for Windows uses net-ssh-4.1.0 which conflicts with the published knife solo gem (0.6.0) which requires net-ssh (< 4.0, >= 2.7). However, since the latest version on Github works, the above allows you to build and install a version of knife-solo that will work on Windows.