chef, knife-solo installation
First step to install chef.
env memo
Centos 7
1 | ruby -v |
ref
http://learn.chef.io/learn-the-basics/rhel/
http://tsuchikazu.net/chef_solo_start/
http://qiita.com/TsuyoshiUshio@github/items/89030baca68b05a9783d
chef installation
If you use proxy -p
option is required
gem -i chef –no-ri –no-rdoc -p http://yourproxy:8080
1 | gem list | grep chef |
knife configuration
1 | knife configure |
All setting are left as default.
knife-solo installation
1 | Fetching: knife-solo-0.4.2.gem (100%) |
creating repository
1 | knife solo init chef-repo |
chef login setting
1 | vi /root/.chef/root.pem |
downloading cookbook
1 | gem i berkshelf --no-ri --no-rdoc |
1 | berks vendor cookbooks |
To be continued…