X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1ebbb9ef31e7495b255b828fcf8ea9ff988b1396..3f0adbf98daf65d842dc28bf372fba289f6c74ec:/roles/wiki.rb?ds=inline diff --git a/roles/wiki.rb b/roles/wiki.rb index e9f3cb865..1ce53771f 100644 --- a/roles/wiki.rb +++ b/roles/wiki.rb @@ -7,11 +7,26 @@ 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" - } + }, + :rewrites => [ + { + :pattern => "www-data@openstreetmap.org", + :replacement => "wiki@noreply.openstreetmap.org", + :flags => "F" + } + ] }, :memcached => { :memory_limit => 1024, @@ -24,7 +39,7 @@ default_attributes( :timeout => 30, :event => { :server_limit => 32, - :max_clients => 800, + :max_request_workers => 800, :threads_per_child => 50, :max_requests_per_child => 10000 } @@ -32,6 +47,6 @@ default_attributes( ) run_list( - "recipe[elasticsearch]", + "role[elasticsearch]", "recipe[wiki]" )