X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/4ecbfbb252feb2ddc803270ad0f36b0f17cfe78d..8795cecc63348dd83f3b4cb320742fba915132b9:/roles/wiki.rb?ds=sidebyside diff --git a/roles/wiki.rb b/roles/wiki.rb index fded35d67..e6d4564e7 100644 --- a/roles/wiki.rb +++ b/roles/wiki.rb @@ -7,14 +7,29 @@ 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 => 512, + :memory_limit => 1024, :connection_limit => 8192, :chunk_growth_factor => 1.05, :min_item_size => 5 @@ -32,5 +47,6 @@ default_attributes( ) run_list( + "role[elasticsearch]", "recipe[wiki]" )