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

Side by Side Diff: manifests/vagrant.pp

Issue 11464069: Set up statistics master server (Closed)
Patch Set: Created Aug. 23, 2013, 3:47 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
OLDNEW
1 define hostentry ( 1 define hostentry (
2 $host = $title['host'], 2 $host = $title['host'],
3 $ip = $title['ip'] 3 $ip = $title['ip']
4 ) { 4 ) {
5 host {$host: 5 host {$host:
6 ensure => present, 6 ensure => present,
7 ip => $ip, 7 ip => $ip,
8 name => $host 8 name => $host
9 } 9 }
10 } 10 }
11 11
12 node default { 12 node default {
13 13
14 $hosts = [ 14 $hosts = [
15 {host => 'localhost', ip => '127.0.0.1'}, 15 {host => 'localhost', ip => '127.0.0.1'},
16 {host => $hostname, ip => '127.0.0.1'}, 16 {host => $hostname, ip => '127.0.0.1'},
17 {host => 'monitoring.adblockplus.org', ip => '10.8.0.98'}, 17 {host => 'monitoring.adblockplus.org', ip => '10.8.0.99'},
18 {host => 'intraforum.adblockplus.org', ip => '10.8.0.105'}, 18 {host => 'intraforum.adblockplus.org', ip => '10.8.0.105'},
19 {host => 'downloads.adblockplus.org', ip => '10.8.0.108'}, 19 {host => 'downloads.adblockplus.org', ip => '10.8.0.108'},
20 {host => 'notification.adblockplus.org', ip => '10.8.0.112'}, 20 {host => 'notification.adblockplus.org', ip => '10.8.0.112'},
21 {host => 'server_1.adblockplus.org', ip => '10.8.0.105'}, 21 {host => 'update.adblockplus.org', ip => '10.8.0.116'},
22 {host => 'server_3.adblockplus.org', ip => '10.8.0.99'}, 22 {host => 'stats.adblockplus.org', ip => '10.8.0.117'},
23 {host => 'server_4.adblockplus.org', ip => '10.8.0.98'}, 23 {host => 'server_1.adblockplus.org', ip => '10.8.0.97'},
24 {host => 'server_3.adblockplus.org', ip => '10.8.0.98'},
25 {host => 'server_4.adblockplus.org', ip => '10.8.0.99'},
24 {host => 'server_5.adblockplus.org', ip => '10.8.0.100'}, 26 {host => 'server_5.adblockplus.org', ip => '10.8.0.100'},
25 {host => 'server_6.adblockplus.org', ip => '10.8.0.101'}, 27 {host => 'server_6.adblockplus.org', ip => '10.8.0.101'},
26 {host => 'server_7.adblockplus.org', ip => '10.8.0.102'}, 28 {host => 'server_7.adblockplus.org', ip => '10.8.0.102'},
27 {host => 'server_8.adblockplus.org', ip => '10.8.0.103'}, 29 {host => 'server_8.adblockplus.org', ip => '10.8.0.103'},
28 {host => 'server_9.adblockplus.org', ip => '10.8.0.104'}, 30 {host => 'server_9.adblockplus.org', ip => '10.8.0.104'},
29 {host => 'server_10.adblockplus.org', ip => '10.8.0.105'}, 31 {host => 'server_10.adblockplus.org', ip => '10.8.0.105'},
30 {host => 'server_11.adblockplus.org', ip => '10.8.0.106'}, 32 {host => 'server_11.adblockplus.org', ip => '10.8.0.106'},
31 {host => 'server_12.adblockplus.org', ip => '10.8.0.107'}, 33 {host => 'server_12.adblockplus.org', ip => '10.8.0.107'},
32 {host => 'server_13.adblockplus.org', ip => '10.8.0.108'}, 34 {host => 'server_13.adblockplus.org', ip => '10.8.0.108'},
33 {host => 'server_14.adblockplus.org', ip => '10.8.0.109'}, 35 {host => 'server_14.adblockplus.org', ip => '10.8.0.109'},
34 {host => 'server_15.adblockplus.org', ip => '10.8.0.110'}, 36 {host => 'server_15.adblockplus.org', ip => '10.8.0.110'},
35 {host => 'server_17.adblockplus.org', ip => '10.8.0.112'}, 37 {host => 'server_17.adblockplus.org', ip => '10.8.0.112'},
36 {host => 'server_18.adblockplus.org', ip => '10.8.0.113'}, 38 {host => 'server_18.adblockplus.org', ip => '10.8.0.113'},
37 {host => 'server_19.adblockplus.org', ip => '10.8.0.114'}, 39 {host => 'server_19.adblockplus.org', ip => '10.8.0.114'},
38 {host => 'server_20.adblockplus.org', ip => '10.8.0.115'}, 40 {host => 'server_20.adblockplus.org', ip => '10.8.0.115'},
41 {host => 'server_21.adblockplus.org', ip => '10.8.0.116'},
42 {host => 'server_22.adblockplus.org', ip => '10.8.0.117'},
39 ] 43 ]
40 44
41 hostentry { $hosts: } 45 hostentry { $hosts: }
42 } 46 }
OLDNEW

Powered by Google App Engine
This is Rietveld