X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/d5cbd676788c5f642f87e103b2d0fd0c31fcdb07..35ca8808b5271161669bb8882ed25538ae4ea311:/roles/wiki.rb diff --git a/roles/wiki.rb b/roles/wiki.rb index 523e73c52..9298395af 100644 --- a/roles/wiki.rb +++ b/roles/wiki.rb @@ -7,8 +7,16 @@ default_attributes( :wiki => { :status => :role } } }, + :elasticsearch => { + :cluster => { + :name => "wiki" + }, + :script => { + :disable_dynamic => false + } + }, :exim => { - :trusted_users => [ "www-data" ], + :trusted_users => ["www-data"], :aliases => { :root => "grant" }, @@ -31,14 +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( - "recipe[elasticsearch]", + "role[elasticsearch]", "recipe[wiki]" )