]> git.openstreetmap.org Git - chef.git/blob - roles/rimfaxe.rb
Enable netplan for German tile caches
[chef.git] / roles / rimfaxe.rb
1 name "rimfaxe"
2 description "Master role applied to rimfaxe"
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 => "130.225.254.109",
13         :prefix => "27",
14         :gateway => "130.225.254.97"
15       },
16       :external_ipv6 => {
17         :interface => "eth0",
18         :role => :external,
19         :family => :inet6,
20         :address => "2001:878:346::109",
21         :prefix => "64",
22         :gateway => "2001:878:346::97"
23       }
24     }
25   },
26   :squid => {
27     :cache_mem => "7000 MB",
28     :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
29   },
30   :tilecache => {
31     :tile_parent => "aalborg.render.openstreetmap.org",
32     :tile_siblings => [
33       "katie.openstreetmap.org",
34       "konqi.openstreetmap.org",
35       "ridgeback.openstreetmap.org",
36       "gorynych.openstreetmap.org"
37     ]
38   }
39 )
40
41 run_list(
42   "role[dotsrc]",
43   "role[tilecache]"
44 )