Created
May 13, 2014 08:44
-
-
Save shoya140/5c19ffdc03cb79370b2c to your computer and use it in GitHub Desktop.
chef
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # chef-solo: nodeでchef-repoを作成して環境構築 | |
| curl -L http://www.opscode.com/chef/install.sh | sudo bash | |
| git clone git://github.com/opscode/chef-repo.git | |
| knife configure | |
| knife cookbook create hello -o cookbooks | |
| vi cookboks/hello/recipes/default.rb | |
| vi localhost.js | |
| vi solo.rb | |
| sudo chef-solo -c solo.rb -j ./localhost.json | |
| # knife-solo: clientでchef-repo作成してknife solo cookで転送, 結果をモニタ | |
| knife solo init chef-repo | |
| knife cookbook create hello -o site-cookbooks | |
| knife solo prepare <host> | |
| knife solo cook <host> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment