]> git.openstreetmap.org Git - chef.git/blob - roles/matomo.rb
blogs: fix build in test
[chef.git] / roles / matomo.rb
1 name "matomo"
2 description "Role applied to all Matomo servers"
3
4 default_attributes(
5   :apache => {
6     :mpm => "event",
7     :event => {
8       :server_limit => 30,
9       :max_request_workers => 1000,
10       :threads_per_child => 50,
11       :min_spare_threads => 75,
12       :max_spare_threads => 175,
13       :listen_cores_buckets_ratio => 4
14     }
15   },
16   :mysql => {
17     :settings => {
18       :mysqld => {
19         :innodb_buffer_pool_instances => "128",
20         :innodb_buffer_pool_size => "128GB",
21         :innodb_flush_log_at_trx_commit => "2",
22         :innodb_log_file_size => "16GB",
23         :join_buffer_size => "1GB",
24         :key_buffer_size => "0",
25         :max_connections => "64"
26       }
27     }
28   }
29 )
30
31 run_list(
32   "recipe[matomo]"
33 )