X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c9fce901431dec601230f540efe067d82166e25e..1ba789e232a546639baaf55c49a14eb474647e88:/roles/otrs.rb diff --git a/roles/otrs.rb b/roles/otrs.rb index 769a12667..c44a42e7c 100644 --- a/roles/otrs.rb +++ b/roles/otrs.rb @@ -5,43 +5,55 @@ 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", :home_directory => "/opt/otrs" }, :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", :home_directory => "/opt/otrs" }, :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", :home_directory => "/opt/otrs" } } }, :otrs => { :site => "otrs.openstreetmap.org", - :database_cluster => "8.4/main", + :site_aliases => ["otrs.osm.org"], + :database_cluster => "10/main", :database_name => "otrs", :database_user => "otrs", :database_password => "otrs" + }, + :postgresql => { + :versions => ["10"] } )