X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/1ebbb9ef31e7495b255b828fcf8ea9ff988b1396..93462ef55b24b71edbcdbe0f1694f5ae483c6c6c:/roles/wiki.rb?ds=sidebyside diff --git a/roles/wiki.rb b/roles/wiki.rb index e9f3cb865..e6d4564e7 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, @@ -32,6 +47,6 @@ default_attributes( ) run_list( - "recipe[elasticsearch]", + "role[elasticsearch]", "recipe[wiki]" )