# curl -L https://www.opscode.com/chef/install.sh | bash
# rvm install 2.1.13
# gem install knife-solo
$ git clone git://github.com/opscode/chef-repo.git
$ knife configure
$ cd chef-repo $ knife cookbook create hello -o cookbooks
$ vi cookbooks/hello/recipes/default.rb
log "Hello, World!" package "zsh" do action :install end
$ vi localhost.json
{ "run_list" : [ "recipe[hello]" ] }
$ vi solo.rb
file_cache_path "/tmp/chef-solo" cookbook_path ["/home/syatsuzuka/work/chef-repo/cookbooks"]
$ sudo chef-solo -c solo.rb -j ./localhost.json
# git clone git://github.com/matschaffer/knife-solo.git # cd knife-solo # gem install bundler # git submodule init # git submodule update # rake install
S.Yatsuzuka