X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/21958591555b0b80370e944e3128ac5d533c281d..a9fa15ee42760a1c6073d01547dd8907b202d65b:/roles/wiki.rb diff --git a/roles/wiki.rb b/roles/wiki.rb index 4a775325a..4b419aa16 100644 --- a/roles/wiki.rb +++ b/roles/wiki.rb @@ -7,6 +7,15 @@ default_attributes( :wiki => { :status => :role } } }, + :elasticsearch => { + :version => "2.x", + :cluster => { + :name => "wiki" + }, + :script => { + :disable_dynamic => false + } + }, :exim => { :trusted_users => ["www-data"], :aliases => { @@ -31,14 +40,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( - "recipe[elasticsearch]", + "role[elasticsearch]", "recipe[wiki]" )