]> git.openstreetmap.org Git - chef.git/blobdiff - roles/otrs.rb
Increase the passenger pool size for taginfo servers
[chef.git] / roles / otrs.rb
index 2ace4f9ef884116f89956fcc34dcc43b3b7ceb2d..19d6307714988ce3377eb3173fad6b2780862ac7 100644 (file)
@@ -5,15 +5,20 @@ default_attributes(
   :accounts => {
     :users => {
       :otrs => { :status => :role }
+    },
+    :groups => {
+      :"www-data" => {
+        :members => [:otrs]
+      }
     }
   },
   :exim => {
-    :local_domains => [ "otrs.openstreetmap.org" ],
+    :local_domains => ["otrs.openstreetmap.org"],
     :routes => {
       :otrs_otrs => {
         :comment => "otrs@otrs.openstreetmap.org",
-        :domains => [ "otrs.openstreetmap.org" ],
-        :local_parts => [ "otrs" ],
+        :domains => ["otrs.openstreetmap.org"],
+        :local_parts => ["otrs"],
         :command => "/opt/otrs/bin/otrs.PostMaster.pl",
         :user => "otrs",
         :group => "www-data",
@@ -21,8 +26,8 @@ default_attributes(
       },
       :otrs_data => {
         :comment => "data@otrs.openstreetmap.org",
-        :domains => [ "otrs.openstreetmap.org" ],
-        :local_parts => [ "data" ],
+        :domains => ["otrs.openstreetmap.org"],
+        :local_parts => ["data"],
         :command => "/opt/otrs/bin/otrs.PostMaster.pl -q 'Data Working Group'",
         :user => "otrs",
         :group => "www-data",
@@ -30,8 +35,8 @@ default_attributes(
       },
       :otrs_support => {
         :comment => "support@otrs.openstreetmap.org",
-        :domains => [ "otrs.openstreetmap.org" ],
-        :local_parts => [ "support" ],
+        :domains => ["otrs.openstreetmap.org"],
+        :local_parts => ["support"],
         :command => "/opt/otrs/bin/otrs.PostMaster.pl -q 'Technical Support'",
         :user => "otrs",
         :group => "www-data",
@@ -41,10 +46,13 @@ default_attributes(
   },
   :otrs => {
     :site => "otrs.openstreetmap.org",
-    :database_cluster => "8.4/main",
+    :database_cluster => "10/main",
     :database_name => "otrs",
     :database_user => "otrs",
     :database_password => "otrs"
+  },
+  :postgresql => {
+    :versions => ["10"]
   }
 )