]> git.openstreetmap.org Git - chef.git/blob - roles/saphira.rb
Enable netplan for American tile caches
[chef.git] / roles / saphira.rb
1 name "saphira"
2 description "Master role applied to saphira"
3
4 default_attributes(
5   :networking => {
6     :netplan => true,
7     :interfaces => {
8       :external_ipv4 => {
9         :interface => "eth0",
10         :role => :external,
11         :family => :inet,
12         :address => "185.73.44.30",
13         :prefix => "22",
14         :gateway => "185.73.44.1"
15       },
16       :external_ipv6 => {
17         :interface => "eth0",
18         :role => :external,
19         :family => :inet6,
20         :address => "2001:ba8:0:2c1e::",
21         :prefix => "64",
22         :gateway => "fe80::fcff:ffff:feff:ffff"
23       }
24     }
25   },
26   :squid => {
27     :cache_mem => "6100 MB",
28     :cache_dir => "coss /store/squid/coss-01 80000 block-size=8192 max-size=262144 membufs=80"
29   },
30   :tilecache => {
31     :tile_parent => "london.render.openstreetmap.org",
32     :tile_siblings => [
33       "trogdor.openstreetmap.org",
34       "katie.openstreetmap.org",
35       "konqi.openstreetmap.org",
36       "ridgeback.openstreetmap.org",
37       "gorynych.openstreetmap.org"
38     ]
39   }
40 )
41
42 run_list(
43   "role[jump]",
44   "role[geodns]",
45   "role[tilecache]"
46 )