Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Starter Kit for using Vagrant, Veewee, and Puppet with Rails 3
Ruby Puppet Shell JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
definitions/demo-centos-box
doc
lib
log
manifests
public
script
test
vendor
.gitignore
.rvmrc
Capfile
Gemfile
Gemfile.lock
README.rdoc
Rakefile
Vagrantfile
config.ru

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.