]> git.openstreetmap.org Git - chef.git/blob - roles/jakelong.rb
nominatim: apache use async_request_worker_factor
[chef.git] / roles / jakelong.rb
1 name "jakelong"
2 description "Master role applied to jakelong"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :external_ipv4 => {
8         :interface => "eth0",
9         :role => :external,
10         :family => :inet,
11         :address => "71.19.155.177",
12         :prefix => "24",
13         :gateway => "71.19.155.1"
14       },
15       :external_ipv6 => {
16         :interface => "eth0",
17         :role => :external,
18         :family => :inet6,
19         :address => "2605:2700:0:17:a800:ff:fe3e:cdca",
20         :prefix => "64",
21         :gateway => "2605:2700:0:17::1"
22       }
23     }
24   },
25   :squid => {
26     :cache_mem => "1024 MB",
27     :cache_dir => "coss /store/squid/coss-01 24000 block-size=8192 max-size=262144 membufs=30"
28   },
29   :nginx => {
30     :cache => {
31       :proxy => {
32         :max_size => "2048M"
33       }
34     }
35   },
36   :sysctl => {
37     :kvm => {
38       :comment => "Tuning for KVM guest",
39       :parameters => {
40         "kernel.sched_min_granularity_ns" => 10000000,
41         "kernel.sched_wakeup_granularity_ns" => 15000000
42       }
43     },
44     :network_conntrack_max => {
45       :comment => "Increase max number of connections tracked",
46       :parameters => {
47         "net.netfilter.nf_conntrack_max" => "65536"
48       }
49     }
50   },
51   :tilecache => {
52     :tile_parent => "sanfrancisco.render.openstreetmap.org",
53     :tile_siblings => [
54       "stormfly-02.openstreetmap.org",
55       "ascalon.openstreetmap.org",
56       "katie.openstreetmap.org",
57       "konqi.openstreetmap.org"
58     ]
59   }
60 )
61
62 run_list(
63   "role[prgmr]",
64   "role[geodns]",
65   "role[tilecache]"
66 )