Created
April 1, 2015 00:14
-
-
Save double-z/5df85758aa2ab2222145 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment