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

Delta Between Two Patch Sets: Vagrantfile

Issue 5143068516810752: Added new stats server and user counter page (Closed)
Left Patch Set: Created Dec. 20, 2013, 11:05 a.m.
Right Patch Set: Centralized stats processing Created Dec. 20, 2013, 3:47 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | manifests/downloadserver.pp » ('j') | manifests/downloadserver.pp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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 19 matching lines...) Expand all
30 define_standard_vm config, 'server5', '10.8.0.100' 30 define_standard_vm config, 'server5', '10.8.0.100'
31 define_standard_vm config, 'server6', '10.8.0.101' 31 define_standard_vm config, 'server6', '10.8.0.101'
32 define_standard_vm config, 'server7', '10.8.0.102' 32 define_standard_vm config, 'server7', '10.8.0.102'
33 define_standard_vm config, 'server10', '10.8.0.105' do |config| 33 define_standard_vm config, 'server10', '10.8.0.105' do |config|
34 config.vm.customize ["modifyvm", :id, "--memory", 1024] 34 config.vm.customize ["modifyvm", :id, "--memory", 1024]
35 end 35 end
36 define_standard_vm config, 'server11', '10.8.0.106' 36 define_standard_vm config, 'server11', '10.8.0.106'
37 define_standard_vm config, 'server12', '10.8.0.107' 37 define_standard_vm config, 'server12', '10.8.0.107'
38 define_standard_vm config, 'server15', '10.8.0.110' 38 define_standard_vm config, 'server15', '10.8.0.110'
39 define_standard_vm config, 'server19', '10.8.0.114' 39 define_standard_vm config, 'server19', '10.8.0.114'
40 define_standard_vm config, 'server22', '10.8.0.117'
41 define_standard_vm config, 'notification1', '10.8.0.118' 40 define_standard_vm config, 'notification1', '10.8.0.118'
42 define_standard_vm config, 'notification2', '10.8.0.119' 41 define_standard_vm config, 'notification2', '10.8.0.119'
43 define_standard_vm config, 'filter1', '10.8.0.120' 42 define_standard_vm config, 'filter1', '10.8.0.120'
44 define_standard_vm config, 'filter2', '10.8.0.121' 43 define_standard_vm config, 'filter2', '10.8.0.121'
45 define_standard_vm config, 'filter3', '10.8.0.122' 44 define_standard_vm config, 'filter3', '10.8.0.122'
46 define_standard_vm config, 'filter4', '10.8.0.123' 45 define_standard_vm config, 'filter4', '10.8.0.123'
47 define_standard_vm config, 'filter5', '10.8.0.124' 46 define_standard_vm config, 'filter5', '10.8.0.124'
48 define_standard_vm config, 'filter6', '10.8.0.125' 47 define_standard_vm config, 'filter6', '10.8.0.125'
49 define_standard_vm config, 'download1', '10.8.0.126' 48 define_standard_vm config, 'download1', '10.8.0.126'
50 define_standard_vm config, 'filtermaster1', '10.8.0.127' 49 define_standard_vm config, 'filtermaster1', '10.8.0.127'
51 define_standard_vm config, 'update1', '10.8.0.128' 50 define_standard_vm config, 'update1', '10.8.0.128'
52 define_standard_vm config, 'web1', '10.8.0.129' 51 define_standard_vm config, 'web1', '10.8.0.129'
53 define_standard_vm config, 'stats1', '10.8.0.130' 52 define_standard_vm config, 'stats1', '10.8.0.130'
54 end 53 end
LEFTRIGHT

Powered by Google App Engine
This is Rietveld