freeipa/ipaplatform/rhel
Florence Blanc-Renaud 4600e62b6b ipa-replica-install --setup-adtrust: check for package ipa-server-trust-ad
When adding the option --setup-adtrust to ipa-replica-install,
we need to check that the package freeipa-server-trust-ad is
installed.
To avoid relying on OS-specific commands like yum, the check is instead
ensuring that the file /usr/share/ipa/smb.conf.empty is present
(this file is delivered by the package).
When the check is unsuccessful, ipa-replica-install exits with an error
message.

Fixes: https://pagure.io/freeipa/issue/7602
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2018-10-24 14:20:29 +02:00
..
__init__.py Build: replace ipaplatform magic with symlinks generated by configure 2016-10-24 13:30:12 +02:00
constants.py ipa-replica-install --setup-adtrust: check for package ipa-server-trust-ad 2018-10-24 14:20:29 +02:00
paths.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
services.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00
tasks.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00