]> git.openstreetmap.org Git - chef.git/blobdiff - roles/wiki.rb
Move ridley to chef 12
[chef.git] / roles / wiki.rb
index 0446cca06be5c6f7e5d326af9fc0cd720ae9c8ea..4a775325a47e1ece599196f16c047a1909dff0df 100644 (file)
@@ -8,10 +8,17 @@ default_attributes(
     }
   },
   :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,5 +39,6 @@ default_attributes(
 )
 
 run_list(
+  "recipe[elasticsearch]",
   "recipe[wiki]"
 )