Left: | ||
Right: |
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 } |
(...skipping 24 matching lines...) Expand all Loading... | |
35 {host => 'filter2.adblockplus.org', ip => '10.8.0.121'}, | 35 {host => 'filter2.adblockplus.org', ip => '10.8.0.121'}, |
36 {host => 'filter3.adblockplus.org', ip => '10.8.0.122'}, | 36 {host => 'filter3.adblockplus.org', ip => '10.8.0.122'}, |
37 {host => 'filter4.adblockplus.org', ip => '10.8.0.123'}, | 37 {host => 'filter4.adblockplus.org', ip => '10.8.0.123'}, |
38 {host => 'filter5.adblockplus.org', ip => '10.8.0.124'}, | 38 {host => 'filter5.adblockplus.org', ip => '10.8.0.124'}, |
39 {host => 'filter6.adblockplus.org', ip => '10.8.0.125'}, | 39 {host => 'filter6.adblockplus.org', ip => '10.8.0.125'}, |
40 {host => 'download1.adblockplus.org', ip => '10.8.0.126'}, | 40 {host => 'download1.adblockplus.org', ip => '10.8.0.126'}, |
41 {host => 'filtermaster1.adblockplus.org', ip => '10.8.0.127'}, | 41 {host => 'filtermaster1.adblockplus.org', ip => '10.8.0.127'}, |
42 {host => 'update1.adblockplus.org', ip => '10.8.0.128'}, | 42 {host => 'update1.adblockplus.org', ip => '10.8.0.128'}, |
43 {host => 'web1.adblockplus.org', ip => '10.8.0.129'}, | 43 {host => 'web1.adblockplus.org', ip => '10.8.0.129'}, |
44 {host => 'stats1.adblockplus.org', ip => '10.8.0.130'}, | 44 {host => 'stats1.adblockplus.org', ip => '10.8.0.130'}, |
45 {host => 'issues.adblockplus.org', ip => '10.8.0.131'}, | |
Wladimir Palant
2014/01/22 14:43:19
Add the host to http-servers group as well?
Felix Dahlke
2014/01/22 14:51:35
Done. Forgot to add it to monitoring altogether ac
| |
45 ] | 46 ] |
46 | 47 |
47 hostentry { $hosts: } | 48 hostentry { $hosts: } |
48 } | 49 } |
OLD | NEW |