mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-27 01:11:32 -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
610 B
Python
26 lines
610 B
Python
#
|
|
# Copyright (C) 2016 FreeIPA Contributors see COPYING for license
|
|
#
|
|
|
|
"""
|
|
Dogtag-based service installer module
|
|
"""
|
|
|
|
from ipalib.install import service
|
|
from ipalib.install.service import prepare_only, replica_install_only
|
|
from ipapython.install.core import knob
|
|
|
|
|
|
class DogtagInstallInterface(service.ServiceInstallInterface):
|
|
"""
|
|
Interface common to all Dogtag-based service installers
|
|
"""
|
|
|
|
ca_file = knob(
|
|
str, None,
|
|
description="location of CA PKCS#12 file",
|
|
cli_metavar='FILE',
|
|
)
|
|
ca_file = prepare_only(ca_file)
|
|
ca_file = replica_install_only(ca_file)
|