]> git.openstreetmap.org Git - chef.git/blob - roles/cmok.rb
reduce shared buffers on all nominatim servers
[chef.git] / roles / cmok.rb
1 name "cmok"
2 description "Master role applied to cmok"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :external_ipv4 => {
8         :interface => "enp5s0",
9         :role => :external,
10         :family => :inet,
11         :address => "31.130.201.40",
12         :prefix => "27",
13         :gateway => "31.130.201.33"
14       },
15       :external_ipv6 => {
16         :interface => "enp5s0",
17         :role => :external,
18         :family => :inet6,
19         :address => "2001:67c:2268:1005:21e:8cff:fe8c:8d3b",
20         :prefix => "64",
21         :gateway => "fe80::204:96ff:fe6d:4d39"
22       }
23     }
24   },
25   :squid => {
26     :cache_mem => "4096 MB",
27     :cache_dir => "coss /store/squid/coss-01 80000 block-size=8192 max-size=262144 membufs=80"
28   },
29   :tilecache => {
30     :tile_parent => "london.render.openstreetmap.org",
31     :tile_siblings => [
32       "trogdor.openstreetmap.org",
33       "katie.openstreetmap.org",
34       "konqi.openstreetmap.org",
35       "ridgeback.openstreetmap.org",
36       "fume.openstreetmap.org",
37       "gorynych.openstreetmap.org"
38     ]
39   }
40 )
41
42 run_list(
43   "role[datahata]",
44   "role[tilecache]"
45 )