forked from rubygems/rubygems-aws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
31 lines (24 loc) · 1019 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
if !File.directory?(File.expand_path("../chef/cookbooks", __FILE__))
puts "Run `librarian-chef install` first to bring down the cookbooks."
exit 1
end
config.vm.define :app do |app|
app.vm.host_name = "rubygems-org-app"
app.vm.box = "opscode-ubuntu-12.04"
app.vm.box_url = "https://opscode-vm.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04_chef-10.18.2.box"
# Use more RAM to assist with setting up lots of infra
app.vm.customize ["modifyvm", :id, "--memory", "768"]
app.vm.network :hostonly, "33.33.33.10"
end
config.vm.define :lb do |app|
app.vm.host_name = "rubygems-org-lb"
app.vm.box = "opscode-ubuntu-12.04"
app.vm.box_url = "https://opscode-vm.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04_chef-10.18.2.box"
# Use more RAM to assist with setting up lots of infra
app.vm.customize ["modifyvm", :id, "--memory", "768"]
app.vm.network :hostonly, "33.33.33.11"
end
end