"http://files.vagrantup.com/precise64.box" config.vm.network :hostonly, "10.0.3.2" config.vm.provision :chef_solo do |chef| chef.cookbooks_path = [ 'cookbooks' ] chef.add_recipe 'minitest-‐handler' chef.add_recipe 'cube' end end local VM automation Vagrantfile
"mysql-server" do version "#{node['mysql']['version']}" action :install end # Do this package "mysql-server" do version node['mysql']['version'] action :install end
platform :ubuntu do version '12.04' do box "opscode-ubuntu-12.04" box_url "https://opscode-.../opscode-ubuntu-12.04.box" end end cookbook "cube" do configuration "server" end