]> git.openstreetmap.org Git - chef.git/blob - cookbooks/tile/attributes/default.rb
Civicrm extension update
[chef.git] / cookbooks / tile / attributes / default.rb
1 default[:tile][:database][:cluster] = "14/main"
2 default[:tile][:database][:postgis] = "3"
3 default[:tile][:database][:node_file] = "/store/database/nodes"
4 default[:tile][:database][:multi_geometry] = true
5 default[:tile][:database][:hstore] = true
6 default[:tile][:database][:style_file] = nil
7 default[:tile][:database][:tag_transform_script] = nil
8
9 default[:tile][:mapnik] = "3.1"
10
11 default[:tile][:replication][:url] = "https://osm-planet-eu-central-1.s3.dualstack.eu-central-1.amazonaws.com/planet/replication/minute"
12
13 default[:tile][:data] = {}
14 default[:tile][:styles] = {}
15
16 default[:postgresql][:versions] |= [node[:tile][:database][:cluster].split("/").first]
17 default[:postgresql][:monitor_database] = "gis"
18
19 default[:accounts][:users][:tile][:status] = :role
20
21 default[:apache][:event][:server_limit] = node.cpu_cores * 5 / 4
22 default[:apache][:event][:max_request_workers] = node.cpu_cores * node[:apache][:event][:threads_per_child]
23 default[:apache][:event][:max_spare_threads] = node.cpu_cores * node[:apache][:event][:threads_per_child]