X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/04075ae665769fe13b97b5586c46ab28a51cc9d3..6d1b6ef2ac6ab5f8df648544a7200fa35e13343e:/roles/otrs.rb diff --git a/roles/otrs.rb b/roles/otrs.rb index 09ec3453e..94d4c4cd2 100644 --- a/roles/otrs.rb +++ b/roles/otrs.rb @@ -2,16 +2,6 @@ name "otrs" description "Role applied to all OTRS servers" default_attributes( - :accounts => { - :users => { - :otrs => { :status => :role } - }, - :groups => { - :"www-data" => { - :members => [:otrs] - } - } - }, :exim => { :local_domains => ["otrs.openstreetmap.org"], :routes => { @@ -42,6 +32,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 +86,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 +117,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"] } )