Bug 42200

Summary: Add AdditionalPackages ini variables
Product: UCS Reporter: Stefan Gohmann <gohmann>
Component: App CenterAssignee: Dirk Wiesenthal <wiesenthal>
Status: CLOSED FIXED QA Contact: Stefan Gohmann <gohmann>
Severity: normal    
Priority: P5 CC: grandjean, gulden, n.wenselowski
Version: UCS 4.1   
Target Milestone: UCS 4.1-3-errata   
Hardware: Other   
OS: Linux   
What kind of report is it?: Feature Request What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: Enterprise Customer affected?:
School Customer affected?: ISV affected?: Yes
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional):
Max CVSS v3 score:

Description Stefan Gohmann univentionstaff 2016-08-31 12:19:47 CEST
If Samba is needed by an App, it is currently difficult to define the dependencies. We did it mostly in the following way:
 univention-samba4 | univention-samba, univention-s4-connector | univention-samba

This works on all roles if samba is already installed. It doesn't work on a Memberserver if Samba is not installed.

We should support the following variables:

 AdditionalPackagesMaster
 AdditionalPackagesBackup
 AdditionalPackagesSlave
 AdditionalPackagesMember

In case Samba is needed on the local system, the variables an be set like this:

 AdditionalPackagesMaster=univention-samba4,univention-s4-connector
 AdditionalPackagesBackup=univention-samba4,univention-s4-connector
 AdditionalPackagesSlave=univention-samba4,univention-s4-connector
 AdditionalPackagesMember=univention-samba
Comment 1 Dirk Wiesenthal univentionstaff 2016-09-08 01:17:51 CEST
Fixed in
  univention-appcenter 5.0.22-13.219.201609080116

AdditionalPackages* are added to the list of packages to be installed / uninstalled.
Comment 2 Stefan Gohmann univentionstaff 2016-09-13 15:46:08 CEST
Code review: OK

Merge to UCS 4.2: OK

Tests: OK, I've added a new test case 80_docker/91_additional_packages r72556

YAML: OK
Comment 3 Janek Walkenhorst univentionstaff 2016-09-14 15:39:05 CEST
<http://errata.software-univention.de/ucs/4.1/266.html>