Skip to content

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
Ruby Puppet Shell JavaScript
branch: master
Failed to load latest commit information.
app
config tweak capistrano deploy script
db make a new rails app
definitions/demo-centos-box fix a stupid typo that breaks host key verification
doc make a new rails app
lib make a new rails app
log make a new rails app
manifests tweak puppet manifest
public make a new rails app
script make a new rails app
test
vendor make a new rails app
.gitignore git ignore .vagrant
.rvmrc Initial commit with .rvmrc
Capfile capify
Gemfile quick fix for execjs dependency - add therubyracer
Gemfile.lock quick fix for execjs dependency - add therubyracer
README.rdoc Replace default Rails README with something more relevant.
Rakefile make a new rails app
Vagrantfile add path to box to Vagrantfile for convenience
config.ru make a new rails app

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.