]> git.openstreetmap.org Git - chef.git/blob - roles/naga.rb
Enable netplan for American tile caches
[chef.git] / roles / naga.rb
1 name "naga"
2 description "Master role applied to naga"
3
4 default_attributes(
5   :networking => {
6     :netplan => true,
7     :interfaces => {
8       :external_ipv4 => {
9         :interface => "ens18",
10         :role => :external,
11         :family => :inet,
12         :address => "185.216.27.232",
13         :prefix => "24",
14         :gateway => "185.216.27.253"
15       },
16       :external_ipv6 => {
17         :interface => "ens18",
18         :role => :external,
19         :family => :inet6,
20         :address => "2a07:abc4:5::27:244",
21         :prefix => "24",
22         :gateway => "fe80::20c:29ff:fe4d:941b"
23       }
24     }
25   },
26   :squid => {
27     :cache_mem => "12500 MB",
28     :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
29   },
30   :tilecache => {
31     :tile_parent => "france.render.openstreetmap.org",
32     :tile_siblings => [
33       "noomoahk.openstreetmap.org",
34       "nepomuk.openstreetmap.org",
35       "norbert.openstreetmap.org",
36       "necrosan.openstreetmap.org",
37       "ladon.openstreetmap.org",
38       "culebre.openstreetmap.org"
39     ]
40   }
41 )
42
43 run_list(
44   "role[proxgroup]",
45   "role[tilecache]"
46 )