Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Starter Kit for using Vagrant, Veewee, and Puppet with Rails 3

branch: master
README.rdoc

Configuration Management Starter Kit

Orginal post here: spin.atomicobject.com/2012/02/27/beyond-bundler-a-configuration-management-starter-kit/

To run it (build a new VM from scratch and deploy your app to it), you’ll want to run the following commands:

vagrant basebox build demo-centos-box
vagrant basebox validate demo-centos-box
vagrant basebox export demo-centos-box
vagrant up
cap environment:vagrant deploy:setup
cap environment:vagrant deploy

As of this writing, I haven’t added the hooks to actually launch the application server, but you can start WEBBrick by hand like so:

vagrant ssh

…and then from within the VM:

cd sites/demo-app/current && RAILS_ENV=production bundle exec rails s

Then, in your browser visit 33.33.33.10:3000. Tada!

Something went wrong with that request. Please try again.