]> git.openstreetmap.org Git - chef.git/blob - roles/waima.rb
Enable netplan for Scandinavian tile caches
[chef.git] / roles / waima.rb
1 name "waima"
2 description "Master role applied to waima"
3
4 default_attributes(
5   :networking => {
6     :netplan => true,
7     :interfaces => {
8       :external_ipv4 => {
9         :interface => "ens3",
10         :role => :external,
11         :family => :inet,
12         :address => "192.168.1.4",
13         :prefix => "24",
14         :gateway => "192.168.1.1",
15         :public_address => "103.197.61.160"
16       }
17     }
18   },
19   :squid => {
20     :cache_mem => "7500 MB",
21     :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
22   },
23   :tilecache => {
24     :tile_parent => "hamilton.render.openstreetmap.org",
25     :tile_siblings => [
26       "tuatara.openstreetmap.org",
27       "longma.openstreetmap.org",
28       "storfly-02.openstreetmap.org",
29       "jakelong.openstreetmap.org"
30     ]
31   }
32 )
33
34 run_list(
35   "role[catalyst]",
36   "role[tilecache]"
37 )