double-z
4/1/2015 - 12:14 AM

gistfile1.txt

require 'chef/provisioning'

chef_gem 'chef-provisioning-vagrant'

count = ['one', 'two']

count.each do |nc|
  machine "vweb-#{nc}" do
    action [:ready, :setup, :converge]
    driver 'vagrant'
    machine_options :vagrant_options => {
		'vm.box' => 'opscode-ubuntu-12.04'
		}
    converge true
  end
end