]> git.openstreetmap.org Git - chef.git/commitdiff
Route program-sotm to an OTRS queue
authorTom Hughes <tom@compton.nu>
Sun, 12 Jan 2020 19:44:18 +0000 (19:44 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 12 Jan 2020 19:44:51 +0000 (19:44 +0000)
roles/mail.rb
roles/otrs.rb

index 483260bb0df9981095e2e5efddb555c6a72c1094..288eb22d39d86bc7f628852b9ad790de442f441e 100644 (file)
@@ -68,7 +68,8 @@ default_attributes(
       "support" => "support@otrs.openstreetmap.org",
       "memorial" => "communication@osmfoundation.org",
       "legal" => "legal@osmfoundation.org",
-      "dmca" => "dmca@osmfoundation.org"
+      "dmca" => "dmca@osmfoundation.org",
+      "program-sotm" => "sotm-program@otrs.openstreetmap.org"
     },
     :private_aliases => "mail"
   },
index c895b122a6fa98b3780bb3a778684cb3022aba35..09ec3453eaa6a8221b2b03962201b9010e943797 100644 (file)
@@ -78,6 +78,15 @@ default_attributes(
         :group => "www-data",
         :home_directory => "/opt/otrs"
       },
+      :otrs_sotm_program => {
+        :comment => "sotm-program@otrs.openstreetmap.org",
+        :domains => ["otrs.openstreetmap.org"],
+        :local_parts => ["sotm-program"],
+        :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'State of the Map:Program'",
+        :user => "otrs",
+        :group => "www-data",
+        :home_directory => "/opt/otrs"
+      },
       :otrs_support => {
         :comment => "support@otrs.openstreetmap.org",
         :domains => ["otrs.openstreetmap.org"],