Hi,
I recently started to play with vagrant and I managed to get it working with chef.
It took me quite a while to get the good cookbooks to work together, in the right order but finally I have a provisioning that works. Though, I'm really wondering if I'm doing it right. As it took me 100 the time I would have needed to build it by hand, I'm thinking of changing the way I use vagrant from:
- Keep updated cookbooks, vagrantfiles... for all the different stack you may need (ruby/postgres, lamp, node...) and when you start a new project, you start from the base precise64 box (for instance) and provision it entirely based on your run list
TO
- Keep the provisioning part to the very minimum,
vagrant up
, manually install the stack I want and package it for whatever future project using that stack. So I basically create personal boxes for my needs.What are you doing, 1or 2? I'm really surprised that there is no boxes with existing common stacks so that I truly just need to do a vagrant up without even maintenaing a personal box, cookbooks or whatever else. Am I missing something?
Thank for you help.
Hi Karel,We use veewee to build our baseboxes from scratch. It allows us to automate basebox creation, and puts the basebox config under version control. That way, we know exactly how our basebox is built, and we can tweak it and rebuild it as needed. Once it's built, we store the basebox on s3 for easy access.Here's a good article on getting started with veewee.Dave