X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/918b2340b4a44045125b50525d432a1e2648eeb2..93d8307a4128a9903e345ffe1213b9c02ad190e5:/roles/wiki.rb diff --git a/roles/wiki.rb b/roles/wiki.rb index e79639928..9298395af 100644 --- a/roles/wiki.rb +++ b/roles/wiki.rb @@ -7,6 +7,14 @@ default_attributes( :wiki => { :status => :role } } }, + :elasticsearch => { + :cluster => { + :name => "wiki" + }, + :script => { + :disable_dynamic => false + } + }, :exim => { :trusted_users => ["www-data"], :aliases => { @@ -31,13 +39,14 @@ default_attributes( :timeout => 30, :event => { :server_limit => 32, - :max_clients => 800, + :max_request_workers => 800, :threads_per_child => 50, - :max_requests_per_child => 10000 + :max_connections_per_child => 10000 } } ) run_list( + "role[elasticsearch]", "recipe[wiki]" )