OLD | NEW |
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.98'}, |
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'}, |
| 20 {host => 'notification.adblockplus.org', ip => '10.8.0.112'}, |
19 {host => 'server_1.adblockplus.org', ip => '10.8.0.105'}, | 21 {host => 'server_1.adblockplus.org', ip => '10.8.0.105'}, |
20 {host => 'server_3.adblockplus.org', ip => '10.8.0.99'}, | 22 {host => 'server_3.adblockplus.org', ip => '10.8.0.99'}, |
21 {host => 'server_4.adblockplus.org', ip => '10.8.0.98'}, | 23 {host => 'server_4.adblockplus.org', ip => '10.8.0.98'}, |
22 {host => 'server_5.adblockplus.org', ip => '10.8.0.100'}, | 24 {host => 'server_5.adblockplus.org', ip => '10.8.0.100'}, |
23 {host => 'server_6.adblockplus.org', ip => '10.8.0.101'}, | 25 {host => 'server_6.adblockplus.org', ip => '10.8.0.101'}, |
24 {host => 'server_7.adblockplus.org', ip => '10.8.0.102'}, | 26 {host => 'server_7.adblockplus.org', ip => '10.8.0.102'}, |
25 {host => 'server_8.adblockplus.org', ip => '10.8.0.103'}, | 27 {host => 'server_8.adblockplus.org', ip => '10.8.0.103'}, |
26 {host => 'server_9.adblockplus.org', ip => '10.8.0.104'}, | 28 {host => 'server_9.adblockplus.org', ip => '10.8.0.104'}, |
27 {host => 'server_10.adblockplus.org', ip => '10.8.0.105'}, | 29 {host => 'server_10.adblockplus.org', ip => '10.8.0.105'}, |
28 {host => 'server_11.adblockplus.org', ip => '10.8.0.106'}, | 30 {host => 'server_11.adblockplus.org', ip => '10.8.0.106'}, |
29 {host => 'server_12.adblockplus.org', ip => '10.8.0.107'}, | 31 {host => 'server_12.adblockplus.org', ip => '10.8.0.107'}, |
30 {host => 'server_13.adblockplus.org', ip => '10.8.0.108'}, | 32 {host => 'server_13.adblockplus.org', ip => '10.8.0.108'}, |
31 {host => 'server_14.adblockplus.org', ip => '10.8.0.109'}, | 33 {host => 'server_14.adblockplus.org', ip => '10.8.0.109'}, |
32 {host => 'server_15.adblockplus.org', ip => '10.8.0.110'}, | 34 {host => 'server_15.adblockplus.org', ip => '10.8.0.110'}, |
| 35 {host => 'server_17.adblockplus.org', ip => '10.8.0.112'}, |
33 ] | 36 ] |
34 | 37 |
35 hostentry { $hosts: } | 38 hostentry { $hosts: } |
36 } | 39 } |
OLD | NEW |