Skip to content

Latest commit

 

History

History
58 lines (44 loc) · 1.36 KB

README.md

File metadata and controls

58 lines (44 loc) · 1.36 KB

Set up my vagrant rails development box

Installation

gem install puppet librarian-puppet
vagrant plugin install vagrant-vbguest
vagrant box add vagrant-rails-dev http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-1204-x64.box
git clone https://github.com/salimane/vagrant-rails-dev.git
cd vagrant-rails-dev/puppet
librarian-puppet install --clean
vagrant up
vagrant ssh

Installed components

  • zsh
  • nginx
  • sysctl configurations for lot of connections
  • rbenv + rails
  • percona mysql server
  • postgresql
  • redis
  • memcached
  • heroku toolbelt
  • weighttp

Hints

Provisioning

To provision again in case of update or errors while the virtual machine is already up, use:

vagrant provision

It just runs puppet to apply manifests without restarting the virtual machine.

Startup speed

To speed up the startup process after the first run, use:

vagrant up --no-provision

It just starts the virtual machine without provisioning of the puppet recipes.