mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-26 17:01:14 -06:00
4600e62b6b
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>
20 lines
490 B
Python
20 lines
490 B
Python
#
|
|
# Copyright (C) 2015 FreeIPA Contributors see COPYING for license
|
|
#
|
|
|
|
'''
|
|
This RHEL base platform module exports platform related constants.
|
|
'''
|
|
|
|
# Fallback to default constant definitions
|
|
from __future__ import absolute_import
|
|
|
|
from ipaplatform.redhat.constants import RedHatConstantsNamespace
|
|
|
|
|
|
class RHELConstantsNamespace(RedHatConstantsNamespace):
|
|
IPA_ADTRUST_PACKAGE_NAME = "ipa-server-trust-ad"
|
|
IPA_DNS_PACKAGE_NAME = "ipa-server-dns"
|
|
|
|
constants = RHELConstantsNamespace()
|