X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/21958591555b0b80370e944e3128ac5d533c281d..112f8e78a79f4f38d20a7b0a6cda8c078f3fa3f2:/roles/otrs.rb diff --git a/roles/otrs.rb b/roles/otrs.rb index a3d622ec8..6139dd1d1 100644 --- a/roles/otrs.rb +++ b/roles/otrs.rb @@ -5,6 +5,11 @@ default_attributes( :accounts => { :users => { :otrs => { :status => :role } + }, + :groups => { + :"www-data" => { + :members => [:otrs] + } } }, :exim => { @@ -14,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" @@ -23,7 +28,16 @@ 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" + }, + :otrs_membership => { + :comment => "membership@otrs.openstreetmap.org", + :domains => ["otrs.openstreetmap.org"], + :local_parts => ["membership"], + :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'Membership Working Group'", :user => "otrs", :group => "www-data", :home_directory => "/opt/otrs" @@ -32,7 +46,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" @@ -41,10 +55,14 @@ default_attributes( }, :otrs => { :site => "otrs.openstreetmap.org", - :database_cluster => "8.4/main", + :site_aliases => ["otrs.osm.org"], + :database_cluster => "10/main", :database_name => "otrs", :database_user => "otrs", :database_password => "otrs" + }, + :postgresql => { + :versions => ["10"] } )