X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/5d6a31bd32a20976963100c0bb26ea5e3a00e4a2..d4a74eb0ce478386a1f5cf927708d1f2a485e7dd:/roles/otrs.rb?ds=sidebyside diff --git a/roles/otrs.rb b/roles/otrs.rb index 2ace4f9ef..5e24b4df3 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.5/main", :database_name => "otrs", :database_user => "otrs", :database_password => "otrs" + }, + :postgresql => { + :versions => ["9.5"] } )