Making a Vagrant test enviroment for chef development

##Initial settings

rvm use 1.9.3@chef --create
sudo gem install bundler
sudo bundle install

Using your hardware servers from vagrant

vagrant plugin install vagrant-managed-servers
vagrant box add dummy
https://github.com/tknerr/vagrant-managed-servers/raw/master/dummy.box
--provider=managed

Install necessary plugins

vagrant plugin install vagrant-omnibus
vagrant plugin install vagrant-berkshelf --plugin-version '>= 2.0.1'

##Some Vagrant tricks

###Vagrant inline provision

  config.vm.provision :shell, :inline => "sudo aptitude -y install build-essential"

###Shared folders

config.vm.synced_folder cache_dir, '/var/cache/apt/archives/', id: 'v-cache', owner: 'vagrant', group: 'www-data'