X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5d6a31bd32a20976963100c0bb26ea5e3a00e4a2..ca2e5d46228417b3996f8b0abda659a2f07a9047:/roles/otrs.rb?ds=sidebyside diff --git a/roles/otrs.rb b/roles/otrs.rb index 2ace4f9ef..34d52ee04 100644 --- a/roles/otrs.rb +++ b/roles/otrs.rb @@ -5,15 +5,20 @@ default_attributes( :accounts => { :users => { :otrs => { :status => :role } + }, + :groups => { + :"www-data" => { + :members => [:otrs] + } } }, :exim => { - :local_domains => [ "otrs.openstreetmap.org" ], + :local_domains => ["otrs.openstreetmap.org"], :routes => { :otrs_otrs => { :comment => "otrs@otrs.openstreetmap.org", - :domains => [ "otrs.openstreetmap.org" ], - :local_parts => [ "otrs" ], + :domains => ["otrs.openstreetmap.org"], + :local_parts => ["otrs"], :command => "/opt/otrs/bin/otrs.PostMaster.pl", :user => "otrs", :group => "www-data", @@ -21,8 +26,8 @@ default_attributes( }, :otrs_data => { :comment => "data@otrs.openstreetmap.org", - :domains => [ "otrs.openstreetmap.org" ], - :local_parts => [ "data" ], + :domains => ["otrs.openstreetmap.org"], + :local_parts => ["data"], :command => "/opt/otrs/bin/otrs.PostMaster.pl -q 'Data Working Group'", :user => "otrs", :group => "www-data", @@ -30,8 +35,8 @@ default_attributes( }, :otrs_support => { :comment => "support@otrs.openstreetmap.org", - :domains => [ "otrs.openstreetmap.org" ], - :local_parts => [ "support" ], + :domains => ["otrs.openstreetmap.org"], + :local_parts => ["support"], :command => "/opt/otrs/bin/otrs.PostMaster.pl -q 'Technical Support'", :user => "otrs", :group => "www-data",