mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 08:21:05 -06:00
a8fdb8de82
Add class hierarchy which allows inherting knob definitions between the various client and server install scripts. https://fedorahosted.org/freeipa/ticket/6392 Reviewed-By: Martin Basti <mbasti@redhat.com>
26 lines
644 B
Python
26 lines
644 B
Python
#
|
|
# Copyright (C) 2016 FreeIPA Contributors see COPYING for license
|
|
#
|
|
|
|
"""
|
|
Connection check module
|
|
"""
|
|
|
|
from ipalib.install import service
|
|
from ipalib.install.service import enroll_only, replica_install_only
|
|
from ipapython.install.core import knob
|
|
|
|
|
|
class ConnCheckInterface(service.ServiceAdminInstallInterface):
|
|
"""
|
|
Interface common to all installers which perform connection check to the
|
|
remote master.
|
|
"""
|
|
|
|
skip_conncheck = knob(
|
|
None,
|
|
description="skip connection check to remote master",
|
|
)
|
|
skip_conncheck = enroll_only(skip_conncheck)
|
|
skip_conncheck = replica_install_only(skip_conncheck)
|