]> git.openstreetmap.org Git - chef.git/blob - roles/chrysophylax.rb
Enable netplan for American tile caches
[chef.git] / roles / chrysophylax.rb
1 name "chrysophylax"
2 description "Master role applied to chrysophylax"
3
4 default_attributes(
5   :networking => {
6     :netplan => true,
7     :interfaces => {
8       :external_ipv4 => {
9         :interface => "ens160",
10         :role => :external,
11         :family => :inet,
12         :address => "217.71.244.22",
13         :prefix => "30",
14         :gateway => "217.71.244.21"
15       },
16       :external_ipv6 => {
17         :interface => "ens160",
18         :role => :external,
19         :family => :inet6,
20         :address => "2001:8e0:40:2039::10",
21         :prefix => "64",
22         :gateway => "2001:8e0:40:2039::1"
23       }
24     }
25   },
26   :squid => {
27     :cache_mem => "7500 MB",
28     :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
29   },
30   :tilecache => {
31     :tile_parent => "zurich.render.openstreetmap.org",
32     :tile_siblings => [
33       "noomoahk.openstreetmap.org",
34       "nepomuk.openstreetmap.org",
35       "ladon.openstreetmap.org",
36       "culebre.openstreetmap.org"
37     ]
38   }
39 )
40
41 run_list(
42   "role[iway]",
43   "role[geodns]",
44   "role[tilecache]"
45 )