Tyler Bird If you're into DevOps, have I got a blog for you... hint: it's this one.

Build a Chef Solo Development Environment with Vagrant

In August of 2012 I presented to the Utah Ruby User’s Group a straighforward way to use Vagrant to setup a local development environment to build chef recipes.

Shared Folder Demo

local$
ls
echo "<h1>Hello from a Vagrant VM</h1>" > index.html
vagrant ssh

vagrant$
ls /vagrant
wget -qO- 127.0.0.1

BROWSER
http://localhost:4567

local$ 
cd ~/code/personal/chef_projects/demo/
mkdir -p chef/cookbooks/main/recipes/
touch chef/cookbooks/main/recipes/default.rb
touch solo.rb
touch node.json
subl .