2013年12月5日木曜日

OSX10.9 Mavericks に chef を入れる

有名な魔法の呪文でさくっと入れようと思ったが、

$ curl -L http://www.opscode.com/chef/install.sh | sudo bash   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current                                 Dload  Upload   Total   Spent    Left  Speed100  6789  100  6789    0     0  13186      0 --:--:-- --:--:-- --:--:-- 13208No builds for platform: 10.9Please file a bug report at http://tickets.opscode.comProject: ChefComponent: PackagesLabel: OmnibusVersion: Please detail your operating system type, version and any other relevant details

え、Mervirickは対応してないだと…。
うーん、gemで入れてもいいんだけどなんかもにょるので、ちょっとググってみた。

https://tickets.opscode.com/browse/CHEF-4678

すでにチケットに上がってるというかdupeしまくっとるなw
えーと、いくつかのworkaroundがチケットに上がってるね。
 Bakh Inamov added a comment - 14/Nov/13 6:57 PM
Downloaded https://opscode-omnibus-packages.s3.amazonaws.com/mac_os_x/10.7/x86_64/chef-11.8.0_1.mac_os_x.10.7.2.sh and ran w no issues
これを試してみたが特に問題なかった。なんか22Mくらいあるけどこのファイル。

つまり上記リンクからファイルをダウンロード。Macのターミナルでsudo使って実行すればすごい勢いでインストールされる。