knife-soloをインストールしたら何故かchef 12.0.0.alphaがインストールされてしまいました。
$ gem install knife-solo
Fetching: chef-zero-2.2.gem (100%)
Successfully installed chef-zero-2.2
Fetching: chef-12.0.0.alpha.1.gem (100%)
Successfully installed chef-12.0.0.alpha.1
Thanks for installing knife-solo!
If you run into any issues please let us know at:
https://github.com/matschaffer/knife-solo/issues
If you are upgrading knife-solo please uninstall any old versions by
running `gem clean knife-solo` to avoid any errors.
See http://bit.ly/CHEF-3255 for more information on the knife bug
that causes this.
Successfully installed knife-solo-0.4.2
Parsing documentation for chef-12.0.0.alpha.1
Installing ri documentation for chef-12.0.0.alpha.1
Parsing documentation for chef-zero-2.2
Installing ri documentation for chef-zero-2.2
Parsing documentation for knife-solo-0.4.2
Done installing documentation for chef, chef-zero, knife-solo after 20 seconds
3 gems installed
opscodeのchefのインストーラはまだ未対応なのか、knife solo prepare
が失敗するようになってしまいました。
$ knife solo prepare centos65
Bootstrapping Chef...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 16519 100 16519 0 0 13977 0 0:00:01 0:00:01 --:--:-- 30761
Downloading Chef 12.0.0.alpha.1 for el...
downloading https://www.opscode.com/chef/metadata?v=12.0.0.alpha.1&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64
to file /tmp/install.sh.5840/metadata.txt
trying wget...
ERROR 404
Unable to retrieve a valid package!
Please file a bug report at http://tickets.opscode.com
Project: Chef
Component: Packages
Label: Omnibus
Version: 12.0.0.alpha.1
Please detail your operating system type, version and any other relevant details
Metadata URL: https://www.opscode.com/chef/metadata?v=12.0.0.alpha.1&prerelease=false&nightlies=false&p=el&pv=6&m=x86_64
chefがインストールされていない状態でgem install knife-solo
した場合だけ、chefの12.0.0.alphaがインストールされるようです。
Gemfileを書いてbundle install
した場合と、gem install chef
した場合は11.16.0がインストールされることを確認。変なdependencyのがslip outしたんだろうか。