]> git.openstreetmap.org Git - chef.git/blob - roles/culebre.rb
nominatim: apache use async_request_worker_factor
[chef.git] / roles / culebre.rb
1 name "culebre"
2 description "Master role applied to culebre"
3
4 default_attributes(
5   :hardware => {
6     :shm_size => "18g"
7   },
8   :networking => {
9     :interfaces => {
10       :external_ipv4 => {
11         :interface => "ens3",
12         :role => :external,
13         :family => :inet,
14         :address => "155.210.4.103",
15         :prefix => "28",
16         :gateway => "155.210.4.110"
17       },
18       :internal_ipv4 => {
19         :interface => "ens4",
20         :role => :internal,
21         :family => :inet,
22         :address => "10.148.97.151",
23         :prefix => "24"
24       }
25     }
26   },
27   :squid => {
28     :version => 4,
29     :cache_mem => "16384 MB",
30     :cache_dir => [
31       "rock /store/squid/rock-4096 12800 swap-timeout=200 slot-size=4096 max-size=3996",
32       "rock /store/squid/rock-8192 16000 swap-timeout=200 slot-size=8192 min-size=3997 max-size=8092",
33       "rock /store/squid/rock-16384 22400 swap-timeout=200 slot-size=16384 min-size=8093 max-size=16284",
34       "rock /store/squid/rock-32768 22800 swap-timeout=200 slot-size=32768 min-size=16285 max-size=262144"
35     ]
36   },
37   :tilecache => {
38     :tile_parent => "zaragoza.render.openstreetmap.org",
39     :tile_siblings => [
40       "trogdor.openstreetmap.org",
41       "katie.openstreetmap.org",
42       "konqi.openstreetmap.org",
43       "gorynych.openstreetmap.org"
44     ]
45   }
46 )
47
48 run_list(
49   "role[unizar]",
50   "role[tilecache]"
51 )