]> git.openstreetmap.org Git - chef.git/blobdiff - roles/otrs.rb
Update bundle
[chef.git] / roles / otrs.rb
index 6053d8beb24997f7c5795fe76840cf721f70d742..09ec3453eaa6a8221b2b03962201b9010e943797 100644 (file)
@@ -19,7 +19,7 @@ default_attributes(
         :comment => "otrs@otrs.openstreetmap.org",
         :domains => ["otrs.openstreetmap.org"],
         :local_parts => ["otrs"],
-        :command => "/opt/otrs/bin/otrs.PostMaster.pl",
+        :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read",
         :user => "otrs",
         :group => "www-data",
         :home_directory => "/opt/otrs"
@@ -28,7 +28,7 @@ default_attributes(
         :comment => "data@otrs.openstreetmap.org",
         :domains => ["otrs.openstreetmap.org"],
         :local_parts => ["data"],
-        :command => "/opt/otrs/bin/otrs.PostMaster.pl -q 'Data Working Group'",
+        :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'Data Working Group'",
         :user => "otrs",
         :group => "www-data",
         :home_directory => "/opt/otrs"
@@ -37,7 +37,52 @@ default_attributes(
         :comment => "membership@otrs.openstreetmap.org",
         :domains => ["otrs.openstreetmap.org"],
         :local_parts => ["membership"],
-        :command => "/opt/otrs/bin/otrs.PostMaster.pl -q 'Membership Working Group'",
+        :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'Membership Working Group'",
+        :user => "otrs",
+        :group => "www-data",
+        :home_directory => "/opt/otrs"
+      },
+      :otrs_legal => {
+        :comment => "legal@otrs.openstreetmap.org",
+        :domains => ["otrs.openstreetmap.org"],
+        :local_parts => ["legal"],
+        :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'Licensing Working Group'",
+        :user => "otrs",
+        :group => "www-data",
+        :home_directory => "/opt/otrs"
+      },
+      :otrs_legal_privacy => {
+        :comment => "legal-privacy@otrs.openstreetmap.org",
+        :domains => ["otrs.openstreetmap.org"],
+        :local_parts => ["legal-privacy"],
+        :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'Licensing Working Group::Privacy'",
+        :user => "otrs",
+        :group => "www-data",
+        :home_directory => "/opt/otrs"
+      },
+      :otrs_legal_questions => {
+        :comment => "legal-questions@otrs.openstreetmap.org",
+        :domains => ["otrs.openstreetmap.org"],
+        :local_parts => ["legal-questions"],
+        :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'Licensing Working Group::Legal Questions'",
+        :user => "otrs",
+        :group => "www-data",
+        :home_directory => "/opt/otrs"
+      },
+      :otrs_legal_trademarks => {
+        :comment => "legal-trademarks@otrs.openstreetmap.org",
+        :domains => ["otrs.openstreetmap.org"],
+        :local_parts => ["legal-trademarks"],
+        :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'Licensing Working Group::Trademarks'",
+        :user => "otrs",
+        :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"
@@ -46,7 +91,7 @@ default_attributes(
         :comment => "support@otrs.openstreetmap.org",
         :domains => ["otrs.openstreetmap.org"],
         :local_parts => ["support"],
-        :command => "/opt/otrs/bin/otrs.PostMaster.pl -q 'Technical Support'",
+        :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'Technical Support'",
         :user => "otrs",
         :group => "www-data",
         :home_directory => "/opt/otrs"