1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00
capistrano/spec/support/Vagrantfile
2014-11-17 13:47:24 +01:00

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