provisioning - Veewee, Vagrant and Berkshelf integration -
i'm trying learn how set virtual development environment using virtualbox, veewee, vagrant , chef-solo berkshelf.
since i'm new this, i've read find online, think i'm missing crucial. here can me understand.
the part i'm having problems provisioning veewee-generated vagrant box using chef-solo , berkshelf.
from point of view, main advantage of using vagrant , virtual environments they're reproducible , portable, not understand why have install berkshelf gem , download recipes on local host machine.
why isn't done on guest?
if give customized vagrantfile else, vagrant up not work on machine because vagrantfile references local recipes other person not have default. installing berkshelf , recipes on machine kinda defeats purpose , referencing recipes available on web somewhere.
isn't better idea install berkshelf gem on guest, download recipes locally there , tell vagrant use recipes on guest? couldn't find reference in new vagrant documentation on how this, in old version specifying cookbook folders within virtual machine an available option.
so i'd know is:
is reasoning valid option or missing either useful tool or general picture?
if reasoning valid, please point me in right direction of how this? thinking of finding out how customize veewee templates building vagrant base box, using post installation script add berkshelf , download recipes, perhaps it's either overkill or wrong way go this?
thanks in advance!
jepp 1 think managing cookbooks outside designation guests against principle of portibility gap can filled 2 simple plugins vagrant integrate librarian-chef or berkshelf (which doing merely same in different ways) before every vagrant up
run e.g. berkshelf executed automatically - sure dev has install plugins + vagrant + virtualbox + veewee/some other baseboxes setup one-time effort.
for librarian-chef i'm using such plugin might this.
hih
Comments
Post a Comment