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

Side by Side Diff: manifests/vagrant.pp

Issue 9425007: Remove website development VM (Closed)
Patch Set: Created Feb. 20, 2013, 3:53 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 => 'www.adblockplus.org', ip => '10.8.0.97'},
18 {host => 'monitoring.adblockplus.org', ip => '10.8.0.98'}, 17 {host => 'monitoring.adblockplus.org', ip => '10.8.0.98'},
19 {host => 'server_1.adblockplus.org', ip => '10.8.0.105'}, 18 {host => 'server_1.adblockplus.org', ip => '10.8.0.105'},
20 {host => 'server_3.adblockplus.org', ip => '10.8.0.99'}, 19 {host => 'server_3.adblockplus.org', ip => '10.8.0.99'},
21 {host => 'server_4.adblockplus.org', ip => '10.8.0.98'}, 20 {host => 'server_4.adblockplus.org', ip => '10.8.0.98'},
22 {host => 'server_5.adblockplus.org', ip => '10.8.0.100'}, 21 {host => 'server_5.adblockplus.org', ip => '10.8.0.100'},
23 {host => 'server_6.adblockplus.org', ip => '10.8.0.101'}, 22 {host => 'server_6.adblockplus.org', ip => '10.8.0.101'},
24 {host => 'server_7.adblockplus.org', ip => '10.8.0.102'}, 23 {host => 'server_7.adblockplus.org', ip => '10.8.0.102'},
25 {host => 'server_8.adblockplus.org', ip => '10.8.0.103'}, 24 {host => 'server_8.adblockplus.org', ip => '10.8.0.103'},
26 {host => 'server_9.adblockplus.org', ip => '10.8.0.104'} 25 {host => 'server_9.adblockplus.org', ip => '10.8.0.104'}
27 ] 26 ]
28 27
29 hostentry { $hosts: } 28 hostentry { $hosts: }
30 } 29 }
OLDNEW
« Vagrantfile ('K') | « manifests/nodes.pp ('k') | manifests/webserver.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld