Univention Bugzilla – Bug 32543
univention-add-app ignores ServerRole
Last modified: 2015-03-11 15:07:06 CET
univention-add-app ignores the ServerRole setting from the ini file. For example: $ grep ServerRole meta-inf/3.2/zarafa_XXXXXXX.ini ServerRole=domaincontroller_master,domaincontroller_backup,domaincontroller_slave On a memberserver the command 'univention-add-app -a --latest zarafa' installs zarafa.
This is because tests are only run in UMC module, the script simply calls install(). Caveat when implemented: ServerRole=memberserver would prevent installation on DC master even when called only for master packages. Maybe one could run the tests by default but ignore errors on --force?
Prevents app installation in univention-updater 10.0.53-10.1383.201503091126 Exception: If --master is given, the app is installed on DC Master/Backup anyway. Not a very likely exception, because apps probably are installable on a DC Master in any case, but this way it is more safer.
YAML: OK Tests: OK Code review: OK
http://errata.univention.de/ucs/4.0/106.html