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