mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
13 lines
399 B
Ruby
13 lines
399 B
Ruby
Vagrant::Config.run do |config|
|
|
|
|
[:app].each_with_index do |role, i|
|
|
config.vm.define(role, primary: true) do |config|
|
|
config.vm.box = role
|
|
config.vm.box = 'precise64'
|
|
config.vm.box_url = 'http://files.vagrantup.com/precise64.box'
|
|
config.vm.forward_port 22, "222#{i}".to_i
|
|
config.vm.provision :shell, inline: 'sudo apt-get -y install git-core'
|
|
end
|
|
end
|
|
|
|
end
|