]> git.openstreetmap.org Git - chef.git/blobdiff - roles/crm.rb
Add supporting.openstreetmap.org exim config
[chef.git] / roles / crm.rb
index 28f20e14a3106d283bd24b471f35e45a4ae20b5e..cbcd8628d986cf5f967b87b940b22f3077b937c8 100644 (file)
@@ -2,8 +2,13 @@ name "crm"
 description "Role applied to CRM server"
 
 default_attributes(
+  :accounts => {
+    :users => {
+      :stereo => { :status => :administrator }
+    }
+  },
   :exim => {
-    :local_domains => ["join.osmfoundation.org"],
+    :local_domains => ["join.osmfoundation.org", "supporting.openstreetmap.org"],
     :routes => {
       :join_return => {
         :comment => "return@join.osmfoundation.org",
@@ -20,6 +25,22 @@ default_attributes(
         :maildir => "/var/mail/crm-mail",
         :user => "www-data",
         :group => "mail"
+      },
+      :supporting_return => {
+        :comment => "return@supporting.openstreetmap.org",
+        :domains => ["supporting.osmfoundation.org"],
+        :local_parts => ["return"],
+        :maildir => "/var/mail/crm-return",
+        :user => "www-data",
+        :group => "mail"
+      },
+      :supporting_mail => {
+        :comment => "mail@supporting.openstreetmap.org",
+        :domains => ["supporting.openstreetmap.org"],
+        :local_parts => ["mail"],
+        :maildir => "/var/mail/crm-mail",
+        :user => "www-data",
+        :group => "mail"
       }
     },
     :trusted_users => ["www-data"]
@@ -27,9 +48,7 @@ default_attributes(
   :mysql => {
     :settings => {
       :mysqld => {
-        :innodb_strict_mode => true,
-        :innodb_file_per_table => true,
-        :innodb_file_format => "Barracuda"
+        :log_bin_trust_function_creators => 1
       }
     }
   }