]> git.openstreetmap.org Git - chef.git/blob - roles/stormfly-01.rb
Added Luxembourg 2019 lidar hillshade
[chef.git] / roles / stormfly-01.rb
1 name "stormfly-01"
2 description "Master role applied to stormfly-01"
3
4 default_attributes(
5   :hardware => {
6     :shm_size => "38g"
7   },
8   :networking => {
9     :interfaces => {
10       :external_ipv4 => {
11         :interface => "em1",
12         :role => :external,
13         :family => :inet,
14         :address => "140.211.167.104"
15       },
16       :external_ipv6 => {
17         :interface => "em1",
18         :role => :external,
19         :family => :inet6,
20         :address => "2605:bc80:3010:700::8cde:a768"
21       }
22     }
23   },
24   :squid => {
25     :version => 4,
26     :cache_mem => "32768 MB",
27     :cache_dir => [
28       "rock /store/squid/rock-4096 20000 swap-timeout=200 slot-size=4096 max-size=3996",
29       "rock /store/squid/rock-8192 25000 swap-timeout=200 slot-size=8192 min-size=3997 max-size=8092",
30       "rock /store/squid/rock-16384 35000 swap-timeout=200 slot-size=16384 min-size=8093 max-size=16284",
31       "rock /store/squid/rock-32768 45000 swap-timeout=200 slot-size=32768 min-size=16285 max-size=262144"
32     ]
33   },
34   :nginx => {
35     :cache => {
36       :proxy => {
37         :max_size => "65536M"
38       }
39     }
40   },
41   :tilecache => {
42     :tile_parent => "corvallis.render.openstreetmap.org",
43     :tile_siblings => [
44       "stormfly-02.openstreetmap.org"
45     ]
46   }
47 )
48
49 run_list(
50   "role[osuosl]",
51   "role[hp-dl360-g6]",
52   "role[geodns]",
53   "role[tilecache]"
54 )