2013-03-27 19:29:21 +00:00
|
|
|
# -*- mode: ruby -*-
|
|
|
|
# vi: set ft=ruby :
|
|
|
|
|
2013-04-04 19:23:55 +00:00
|
|
|
Vagrant.require_plugin('vagrant-hostmanager')
|
|
|
|
|
2013-03-27 19:29:21 +00:00
|
|
|
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'
|
|
|
|
|
2013-04-26 14:20:34 +00:00
|
|
|
config.hostmanager.auto_update = true
|
2013-04-08 17:20:22 +00:00
|
|
|
|
2013-03-27 19:29:21 +00:00
|
|
|
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
|