18 lines
500 B
Ruby
18 lines
500 B
Ruby
|
# -*- mode: ruby -*-
|
||
|
# vi: set ft=ruby :
|
||
|
|
||
|
Vagrant.configure('2') do |config|
|
||
|
config.vm.box = 'precise64-chef11.2'
|
||
|
config.vm.box_url = 'https://opscode-vm.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04_chef-11.2.0.box'
|
||
|
|
||
|
config.vm.define :server1 do |server|
|
||
|
server.vm.hostname = 'fry'
|
||
|
server.vm.network :private_network, :ip => '10.0.5.2'
|
||
|
end
|
||
|
|
||
|
config.vm.define :server2 do |server|
|
||
|
server.vm.hostname = 'bender'
|
||
|
server.vm.network :private_network, :ip => '10.0.5.3'
|
||
|
end
|
||
|
end
|