mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 07:33:27 -06:00
8f6502db03
and use paths from ipaplatform. Fixes: https://pagure.io/freeipa/issue/8401 Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Francois Cami <fcami@redhat.com>
31 lines
927 B
Python
31 lines
927 B
Python
#
|
|
# Copyright (C) 2020 FreeIPA Contributors see COPYING for license
|
|
#
|
|
"""RHEL container paths
|
|
"""
|
|
import os
|
|
|
|
from ipaplatform.rhel.paths import RHELPathNamespace
|
|
|
|
|
|
def data(path):
|
|
return os.path.join("/data", path[1:])
|
|
|
|
|
|
class RHELContainerPathNamespace(RHELPathNamespace):
|
|
KRB5_CONF = data(RHELPathNamespace.KRB5_CONF)
|
|
KRB5_KEYTAB = data(RHELPathNamespace.KRB5_KEYTAB)
|
|
NAMED_KEYTAB = data(RHELPathNamespace.NAMED_KEYTAB)
|
|
NAMED_CUSTOM_CONF = data(RHELPathNamespace.NAMED_CUSTOM_CONF)
|
|
NAMED_CUSTOM_OPTIONS_CONF = data(
|
|
RHELPathNamespace.NAMED_CUSTOM_OPTIONS_CONF
|
|
)
|
|
NSSWITCH_CONF = data(RHELPathNamespace.NSSWITCH_CONF)
|
|
PKI_CONFIGURATION = data(RHELPathNamespace.PKI_CONFIGURATION)
|
|
SAMBA_DIR = data(RHELPathNamespace.SAMBA_DIR)
|
|
HTTPD_IPA_WSGI_MODULES_CONF = None
|
|
HTTPD_PASSWD_FILE_FMT = data(RHELPathNamespace.HTTPD_PASSWD_FILE_FMT)
|
|
|
|
|
|
paths = RHELContainerPathNamespace()
|