Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 793 Bytes

GUIDE.md

File metadata and controls

33 lines (25 loc) · 793 Bytes

These are the steps I took to create this box:

  1. Found a great resource on vagrant, chef & librarian: http://blog.base2.io/2012/05/01/vagrants-and-chefs-and-librarians-oh-my/#.UQlD6Uq6BYg

  2. Installed a Vagrant base box (and tested upping it): $ vagrant box add precise32 http://files.vagrantup.com/precise32.box $ vagrant init precise32 $ vagrant up

  3. Prepared librarian: $ librarian-chef init

  4. Updated the Cheffile to install apt, build-essentials, rvm, git and postgres

  5. Updated the Vagrantfile to use Chef (chef_solo) and listed the cookbooks I wanted to use.

  6. Installed cookbooks $ librarian-chef install

  7. Turned off the VM and launched it again: $ vagrant halt $ vagrant up

  8. Chef processed the recipes and installed the packages.