Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: 8801f1f125

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

RailsCasts Episode #339: Chef Solo Basics

Requires Ruby 1.9.2 or higher.

Commands used on local machine

ssh root@
scp -r root@ .
mate chef
rsync -r . root@
ssh root@ "chef-solo -c /var/chef/solo.rb"
brew install ssh-copy-id
ssh-copy-id root@
openssl passwd -1 "theplaintextpassword"
ssh deployer@

Commands used on server

curl -L | bash
ruby -v
chef-solo -v
mkdir /var/chef
cd /var/chef
mkdir -p cookbooks/main/recipes
vim cookbooks/main/recipes/default.rb
vim solo.rb
chef-solo -c solo.rb
vim node.json
chef-solo -c solo.rb -j node.json
Something went wrong with that request. Please try again.