X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/a5db203aa5d5ece82eeee0321fe3a4e677dc679a..7a4250725466736060473eee5bd75cd5457e42de:/roles/otrs.rb diff --git a/roles/otrs.rb b/roles/otrs.rb index 09ec3453e..7355e664e 100644 --- a/roles/otrs.rb +++ b/roles/otrs.rb @@ -2,17 +2,8 @@ name "otrs" description "Role applied to all OTRS servers" default_attributes( - :accounts => { - :users => { - :otrs => { :status => :role } - }, - :groups => { - :"www-data" => { - :members => [:otrs] - } - } - }, :exim => { + :smarthost_via => "fafnir.openstreetmap.org:26", :local_domains => ["otrs.openstreetmap.org"], :routes => { :otrs_otrs => { @@ -42,6 +33,15 @@ default_attributes( :group => "www-data", :home_directory => "/opt/otrs" }, + :otrs_membership_osmf_talk_owner => { + :comment => "osmf-talk-owner@otrs.openstreetmap.org", + :domains => ["otrs.openstreetmap.org"], + :local_parts => ["osmf-talk-owner"], + :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'Membership Working Group::osmf-talk'", + :user => "otrs", + :group => "www-data", + :home_directory => "/opt/otrs" + }, :otrs_legal => { :comment => "legal@otrs.openstreetmap.org", :domains => ["otrs.openstreetmap.org"], @@ -87,6 +87,24 @@ default_attributes( :group => "www-data", :home_directory => "/opt/otrs" }, + :otrs_communications => { + :comment => "communications@otrs.openstreetmap.org", + :domains => ["otrs.openstreetmap.org"], + :local_parts => ["communications"], + :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'Communications Working Group'", + :user => "otrs", + :group => "www-data", + :home_directory => "/opt/otrs" + }, + :otrs_communications_freebies => { + :comment => "freebies@otrs.openstreetmap.org", + :domains => ["otrs.openstreetmap.org"], + :local_parts => ["freebies"], + :command => "/opt/otrs/bin/otrs.Console.pl Maint::PostMaster::Read --target-queue 'Communications Working Group::Freebies'", + :user => "otrs", + :group => "www-data", + :home_directory => "/opt/otrs" + }, :otrs_support => { :comment => "support@otrs.openstreetmap.org", :domains => ["otrs.openstreetmap.org"], @@ -100,14 +118,7 @@ default_attributes( }, :otrs => { :site => "otrs.openstreetmap.org", - :site_aliases => ["otrs.osm.org"], - :database_cluster => "10/main", - :database_name => "otrs", - :database_user => "otrs", - :database_password => "otrs" - }, - :postgresql => { - :versions => ["10"] + :site_aliases => ["otrs.osm.org"] } )