読者です 読者をやめる 読者になる 読者になる

@thorikiriのてょりっき

@thorikiriがWebとかAndroidとかの技術ネタや本を読んだブログです

MavericksにChefをインストール

mac

Mac OS 10.9 MavericksにChefをインストールしようとしました。
Learn Chefに書いてある通り、やります。

$ curl -L https://www.opscode.com/chef/install.sh | sudo bash
Password:  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  6790  100  6790    0     0   2790      0  0:00:02  0:00:02 --:--:--  2831

No builds for platform: 10.9
Please file a bug report at http://tickets.opscode.com
Project: Chef
Component: Packages
Label: Omnibus
Version:

Please detail your operating system type, version and any other relevant details

うん、なんか、今のところ10.9向けのビルドが無いって怒られてしまいますね。
なので、gemでインストールしましょう。

$ gem install chef
Fetching: mixlib-config-1.1.2.gem (100%)
Successfully installed mixlib-config-1.1.2
Fetching: mixlib-cli-1.3.0.gem (100%)
Successfully installed mixlib-cli-1.3.0
Fetching: mixlib-log-1.6.0.gem (100%)
Successfully installed mixlib-log-1.6.0
Fetching: mixlib-authentication-1.3.0.gem (100%)
Successfully installed mixlib-authentication-1.3.0
Fetching: mixlib-shellout-1.2.0.gem (100%)
Successfully installed mixlib-shellout-1.2.0
Fetching: systemu-2.5.2.gem (100%)
Successfully installed systemu-2.5.2
Fetching: yajl-ruby-1.1.0.gem (100%)
Building native extensions.  This could take a while...
/Users/thorikiri/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/ext/builder.rb:69: warning: Insecure world writable dir /opt/local/maven in PATH, mode 040777
Successfully installed yajl-ruby-1.1.0
Fetching: ipaddress-0.8.0.gem (100%)
Successfully installed ipaddress-0.8.0
Fetching: ohai-6.18.0.gem (100%)
Successfully installed ohai-6.18.0
Fetching: rest-client-1.6.7.gem (100%)
Successfully installed rest-client-1.6.7
Fetching: net-ssh-2.7.0.gem (100%)
Successfully installed net-ssh-2.7.0
Fetching: net-ssh-gateway-1.2.0.gem (100%)
Successfully installed net-ssh-gateway-1.2.0
Fetching: net-ssh-multi-1.1.gem (100%)
Successfully installed net-ssh-multi-1.1
Fetching: highline-1.6.20.gem (100%)
Successfully installed highline-1.6.20
Fetching: chef-11.6.2.gem (100%)
Successfully installed chef-11.6.2
Installing ri documentation for chef-11.6.2
Installing ri documentation for highline-1.6.20
Installing ri documentation for ipaddress-0.8.0
Installing ri documentation for mixlib-authentication-1.3.0
Installing ri documentation for mixlib-cli-1.3.0
Installing ri documentation for mixlib-config-1.1.2
Installing ri documentation for mixlib-log-1.6.0
Installing ri documentation for mixlib-shellout-1.2.0
Installing ri documentation for net-ssh-2.7.0
Installing ri documentation for net-ssh-gateway-1.2.0
Installing ri documentation for net-ssh-multi-1.1
Installing ri documentation for ohai-6.18.0
Installing ri documentation for rest-client-1.6.7
Installing ri documentation for systemu-2.5.2
Installing ri documentation for yajl-ruby-1.1.0
15 gems installed

OKのようですね。