Skip to content

Instantly share code, notes, and snippets.

@libero18
Created October 26, 2012 02:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save libero18/3956549 to your computer and use it in GitHub Desktop.
Save libero18/3956549 to your computer and use it in GitHub Desktop.
chef の環境構築メモ

環境を作り直した時のメモを残していく場所として

TODO

・ 出来れば最初の環境構築をなるべくシンプルにするため、 capistrano などで半自動化したい
・ cookbookを作成する時に、 rake でテンプレート作るのやめて、 knife を使いたいので、 knife-solo を入れる
・ インテグレーションテストのために、 test-kitchen を入れる(travisでも使える?かは、未調査なので、CIは後で)
・ travis で利用していた foodcritic をローカルにも入れる(lint tool として使うなら、ローカルにもある方が使いやすい)

環境

OS

CentOS 6.3(http://distrowatch.com/table.php?distribution=centos) , 最小インストール

その他ツールなど(主なものだけ)

rbenv(ruby-1.9.3-p286) , chef(chef-solo) , knife-solo , test-kitchen , vagrant , bento , foodcritic

http://www.opscode.com/chef/install/

ssh-keygen -f ~/.chef/client.pem mv ~/.chef/client.pem.pub /var/chef-solo/etc/validation.pem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment