]> git.openstreetmap.org Git - chef.git/blob - roles/simurgh.rb
tilecache: storage tuning
[chef.git] / roles / simurgh.rb
1 name "simurgh"
2 description "Master role applied to simurgh"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :external_ipv4 => {
8         :interface => "ens32",
9         :role => :external,
10         :family => :inet,
11         :address => "94.20.20.55",
12         :prefix => "24",
13         :gateway => "94.20.20.1"
14       }
15     }
16   },
17   :squid => {
18     :cache_mem => "6400 MB",
19     :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
20   },
21   :nginx => {
22     :cache => {
23       :proxy => {
24         :max_size => "2048M"
25       }
26     }
27   },
28   :tilecache => {
29     :tile_parent => "baku.render.openstreetmap.org",
30     :tile_siblings => [
31       "katie.openstreetmap.org",
32       "konqi.openstreetmap.org",
33       "ridgeback.openstreetmap.org"
34     ]
35   }
36 )
37
38 run_list(
39   "role[delta]",
40   "role[tilecache]"
41 )