Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: Vagrantfile

Issue 5459448122310656: Add rietveld to infrastructure (Closed)
Patch Set: The two comments Created Feb. 12, 2014, 2:13 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | manifests/codereviewserver.pp » ('j') | modules/rietveld/manifests/init.pp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 def define_standard_vm(config, host_name, ip) 1 def define_standard_vm(config, host_name, ip)
2 config.vm.define host_name do |config| 2 config.vm.define host_name do |config|
3 config.vm.box = 'precise64' 3 config.vm.box = 'precise64'
4 config.vm.box_url = 'http://files.vagrantup.com/precise64.box' 4 config.vm.box_url = 'http://files.vagrantup.com/precise64.box'
5 config.vm.host_name = "#{host_name}.adblockplus.org" 5 config.vm.host_name = "#{host_name}.adblockplus.org"
6 config.vm.network :hostonly, ip, { nic_type: '82543GC' } 6 config.vm.network :hostonly, ip, { nic_type: '82543GC' }
7 config.vm.customize ["modifyvm", :id, "--cpus", 1] 7 config.vm.customize ["modifyvm", :id, "--cpus", 1]
8 8
9 config.vm.provision :shell, :inline => ' 9 config.vm.provision :shell, :inline => '
10 if ! test -f /usr/bin/puppet; then 10 if ! test -f /usr/bin/puppet; then
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 define_standard_vm config, 'filter3', '10.8.0.122' 44 define_standard_vm config, 'filter3', '10.8.0.122'
45 define_standard_vm config, 'filter4', '10.8.0.123' 45 define_standard_vm config, 'filter4', '10.8.0.123'
46 define_standard_vm config, 'filter5', '10.8.0.124' 46 define_standard_vm config, 'filter5', '10.8.0.124'
47 define_standard_vm config, 'filter6', '10.8.0.125' 47 define_standard_vm config, 'filter6', '10.8.0.125'
48 define_standard_vm config, 'download1', '10.8.0.126' 48 define_standard_vm config, 'download1', '10.8.0.126'
49 define_standard_vm config, 'filtermaster1', '10.8.0.127' 49 define_standard_vm config, 'filtermaster1', '10.8.0.127'
50 define_standard_vm config, 'update1', '10.8.0.128' 50 define_standard_vm config, 'update1', '10.8.0.128'
51 define_standard_vm config, 'web1', '10.8.0.129' 51 define_standard_vm config, 'web1', '10.8.0.129'
52 define_standard_vm config, 'stats1', '10.8.0.130' 52 define_standard_vm config, 'stats1', '10.8.0.130'
53 define_standard_vm config, 'issues1', '10.8.0.131' 53 define_standard_vm config, 'issues1', '10.8.0.131'
54 define_standard_vm config, 'codereview1', '10.8.0.132'
54 end 55 end
OLDNEW
« no previous file with comments | « no previous file | manifests/codereviewserver.pp » ('j') | modules/rietveld/manifests/init.pp » ('J')

Powered by Google App Engine
This is Rietveld