X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5d6a31bd32a20976963100c0bb26ea5e3a00e4a2..4a446ba563419ea9589df9ef5db84d9867bae8e0:/roles/otrs.rb diff --git a/roles/otrs.rb b/roles/otrs.rb index 2ace4f9ef..0ee56b21a 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", @@ -41,10 +46,13 @@ default_attributes( }, :otrs => { :site => "otrs.openstreetmap.org", - :database_cluster => "8.4/main", + :database_cluster => "9.3/main", :database_name => "otrs", :database_user => "otrs", :database_password => "otrs" + }, + :postgresql => { + :versions => ["9.3"] } )