mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
install: Fix server and replica install options
https://fedorahosted.org/freeipa/ticket/5184 Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
parent
55feea500b
commit
a651be3eec
@ -1137,18 +1137,6 @@ def uninstall(installer):
|
|||||||
class ServerCA(common.Installable, core.Group, core.Composite):
|
class ServerCA(common.Installable, core.Group, core.Composite):
|
||||||
description = "certificate system"
|
description = "certificate system"
|
||||||
|
|
||||||
setup_ca = Knob(
|
|
||||||
bool, False,
|
|
||||||
initializable=False,
|
|
||||||
description="configure a dogtag CA",
|
|
||||||
)
|
|
||||||
|
|
||||||
setup_kra = Knob(
|
|
||||||
bool, False,
|
|
||||||
initializable=False,
|
|
||||||
description="configure a dogtag KRA",
|
|
||||||
)
|
|
||||||
|
|
||||||
external_ca = Knob(
|
external_ca = Knob(
|
||||||
bool, False,
|
bool, False,
|
||||||
description=("Generate a CSR for the IPA CA certificate to be signed "
|
description=("Generate a CSR for the IPA CA certificate to be signed "
|
||||||
@ -1163,7 +1151,7 @@ class ServerCA(common.Installable, core.Group, core.Composite):
|
|||||||
external_cert_files = Knob(
|
external_cert_files = Knob(
|
||||||
(list, str), None,
|
(list, str), None,
|
||||||
description=("File containing the IPA CA certificate and the external "
|
description=("File containing the IPA CA certificate and the external "
|
||||||
"CA certificate chain (can be specified multiple times)"),
|
"CA certificate chain"),
|
||||||
cli_name='external-cert-file',
|
cli_name='external-cert-file',
|
||||||
cli_aliases=['external_cert_file', 'external_ca_file'],
|
cli_aliases=['external_cert_file', 'external_ca_file'],
|
||||||
cli_metavar='FILE',
|
cli_metavar='FILE',
|
||||||
@ -1308,6 +1296,7 @@ class ServerDNS(common.Installable, core.Group, core.Composite):
|
|||||||
description=("The reverse DNS zone to use. This option can be used "
|
description=("The reverse DNS zone to use. This option can be used "
|
||||||
"multiple times"),
|
"multiple times"),
|
||||||
cli_name='reverse-zone',
|
cli_name='reverse-zone',
|
||||||
|
cli_metavar='REVERSE_ZONE',
|
||||||
)
|
)
|
||||||
|
|
||||||
no_reverse = Knob(
|
no_reverse = Knob(
|
||||||
@ -1320,31 +1309,6 @@ class ServerDNS(common.Installable, core.Group, core.Composite):
|
|||||||
description="Disable DNSSEC validation",
|
description="Disable DNSSEC validation",
|
||||||
)
|
)
|
||||||
|
|
||||||
dnssec_master = Knob(
|
|
||||||
bool, False,
|
|
||||||
initializable=False,
|
|
||||||
description="Setup server to be DNSSEC key master",
|
|
||||||
)
|
|
||||||
|
|
||||||
disable_dnssec_master = Knob(
|
|
||||||
bool, False,
|
|
||||||
initializable=False,
|
|
||||||
description="Disable the DNSSEC master on this server",
|
|
||||||
)
|
|
||||||
|
|
||||||
kasp_db_file = Knob(
|
|
||||||
str, None,
|
|
||||||
initializable=False,
|
|
||||||
description="Copy OpenDNSSEC metadata from the specified file (will "
|
|
||||||
"not create a new kasp.db file)",
|
|
||||||
)
|
|
||||||
|
|
||||||
force = Knob(
|
|
||||||
bool, False,
|
|
||||||
initializable=False,
|
|
||||||
description="Force install",
|
|
||||||
)
|
|
||||||
|
|
||||||
zonemgr = Knob(
|
zonemgr = Knob(
|
||||||
str, None,
|
str, None,
|
||||||
description=("DNS zone manager e-mail address. Defaults to "
|
description=("DNS zone manager e-mail address. Defaults to "
|
||||||
@ -1416,7 +1380,6 @@ class Server(common.Installable, common.Interactive, core.Composite):
|
|||||||
master_password = Knob(
|
master_password = Knob(
|
||||||
str, None,
|
str, None,
|
||||||
sensitive=True,
|
sensitive=True,
|
||||||
deprecated=True,
|
|
||||||
description="kerberos master password (normally autogenerated)",
|
description="kerberos master password (normally autogenerated)",
|
||||||
cli_short_name='P',
|
cli_short_name='P',
|
||||||
)
|
)
|
||||||
@ -1466,11 +1429,13 @@ class Server(common.Installable, common.Interactive, core.Composite):
|
|||||||
description=("Master Server IP Address. This option can be used "
|
description=("Master Server IP Address. This option can be used "
|
||||||
"multiple times"),
|
"multiple times"),
|
||||||
cli_name='ip-address',
|
cli_name='ip-address',
|
||||||
|
cli_metavar='IP_ADDRESS',
|
||||||
)
|
)
|
||||||
|
|
||||||
no_ntp = Knob(
|
no_ntp = Knob(
|
||||||
bool, False,
|
bool, False,
|
||||||
description="do not configure ntp",
|
description="do not configure ntp",
|
||||||
|
cli_short_name='N',
|
||||||
)
|
)
|
||||||
|
|
||||||
idstart = Knob(
|
idstart = Knob(
|
||||||
@ -1615,8 +1580,8 @@ class Server(common.Installable, common.Interactive, core.Composite):
|
|||||||
# Automatically disable pkinit w/ dogtag until that is supported
|
# Automatically disable pkinit w/ dogtag until that is supported
|
||||||
self.ca.no_pkinit = True
|
self.ca.no_pkinit = True
|
||||||
|
|
||||||
self.setup_ca = self.ca.setup_ca
|
self.setup_ca = False
|
||||||
self.setup_kra = self.ca.setup_kra
|
self.setup_kra = False
|
||||||
self.external_ca = self.ca.external_ca
|
self.external_ca = self.ca.external_ca
|
||||||
self.external_ca_type = self.ca.external_ca_type
|
self.external_ca_type = self.ca.external_ca_type
|
||||||
self.external_cert_files = self.ca.external_cert_files
|
self.external_cert_files = self.ca.external_cert_files
|
||||||
@ -1639,10 +1604,10 @@ class Server(common.Installable, common.Interactive, core.Composite):
|
|||||||
self.reverse_zones = self.dns.reverse_zones
|
self.reverse_zones = self.dns.reverse_zones
|
||||||
self.no_reverse = self.dns.no_reverse
|
self.no_reverse = self.dns.no_reverse
|
||||||
self.no_dnssec_validation = self.dns.no_dnssec_validation
|
self.no_dnssec_validation = self.dns.no_dnssec_validation
|
||||||
self.dnssec_master = self.dns.dnssec_master
|
self.dnssec_master = False
|
||||||
self.disable_dnssec_master = self.dns.disable_dnssec_master
|
self.disable_dnssec_master = False
|
||||||
self.kasp_db_file = self.dns.kasp_db_file
|
self.kasp_db_file = None
|
||||||
self.force = self.dns.force
|
self.force = False
|
||||||
self.zonemgr = self.dns.zonemgr
|
self.zonemgr = self.dns.zonemgr
|
||||||
self.no_host_dns = self.dns.no_host_dns
|
self.no_host_dns = self.dns.no_host_dns
|
||||||
self.no_dns_sshfp = self.dns.no_dns_sshfp
|
self.no_dns_sshfp = self.dns.no_dns_sshfp
|
||||||
|
@ -679,6 +679,7 @@ class ReplicaDNS(common.Installable, core.Group, core.Composite):
|
|||||||
description=("The reverse DNS zone to use. This option can be used "
|
description=("The reverse DNS zone to use. This option can be used "
|
||||||
"multiple times"),
|
"multiple times"),
|
||||||
cli_name='reverse-zone',
|
cli_name='reverse-zone',
|
||||||
|
cli_metavar='REVERSE_ZONE',
|
||||||
)
|
)
|
||||||
|
|
||||||
no_reverse = Knob(
|
no_reverse = Knob(
|
||||||
@ -691,31 +692,6 @@ class ReplicaDNS(common.Installable, core.Group, core.Composite):
|
|||||||
description="Disable DNSSEC validation",
|
description="Disable DNSSEC validation",
|
||||||
)
|
)
|
||||||
|
|
||||||
dnssec_master = Knob(
|
|
||||||
bool, False,
|
|
||||||
initializable=False,
|
|
||||||
description="Setup server to be DNSSEC key master",
|
|
||||||
)
|
|
||||||
|
|
||||||
disable_dnssec_master = Knob(
|
|
||||||
bool, False,
|
|
||||||
initializable=False,
|
|
||||||
description="Disable the DNSSEC master on this server",
|
|
||||||
)
|
|
||||||
|
|
||||||
force = Knob(
|
|
||||||
bool, False,
|
|
||||||
initializable=False,
|
|
||||||
description="Force install",
|
|
||||||
)
|
|
||||||
|
|
||||||
kasp_db_file = Knob(
|
|
||||||
str, None,
|
|
||||||
initializable=False,
|
|
||||||
description="Copy OpenDNSSEC metadata from the specified file (will "
|
|
||||||
"not create a new kasp.db file)",
|
|
||||||
)
|
|
||||||
|
|
||||||
no_host_dns = Knob(
|
no_host_dns = Knob(
|
||||||
bool, False,
|
bool, False,
|
||||||
description="Do not use DNS for hostname lookup during installation",
|
description="Do not use DNS for hostname lookup during installation",
|
||||||
@ -750,6 +726,7 @@ class Replica(common.Installable, common.Interactive, core.Composite):
|
|||||||
description=("Replica server IP Address. This option can be used "
|
description=("Replica server IP Address. This option can be used "
|
||||||
"multiple times"),
|
"multiple times"),
|
||||||
cli_name='ip-address',
|
cli_name='ip-address',
|
||||||
|
cli_metavar='IP_ADDRESS',
|
||||||
)
|
)
|
||||||
|
|
||||||
password = Knob(
|
password = Knob(
|
||||||
@ -774,6 +751,7 @@ class Replica(common.Installable, common.Interactive, core.Composite):
|
|||||||
no_ntp = Knob(
|
no_ntp = Knob(
|
||||||
bool, False,
|
bool, False,
|
||||||
description="do not configure ntp",
|
description="do not configure ntp",
|
||||||
|
cli_short_name='N',
|
||||||
)
|
)
|
||||||
|
|
||||||
no_ui_redirect = Knob(
|
no_ui_redirect = Knob(
|
||||||
@ -864,10 +842,10 @@ class Replica(common.Installable, common.Interactive, core.Composite):
|
|||||||
self.reverse_zones = self.dns.reverse_zones
|
self.reverse_zones = self.dns.reverse_zones
|
||||||
self.no_reverse = self.dns.no_reverse
|
self.no_reverse = self.dns.no_reverse
|
||||||
self.no_dnssec_validation = self.dns.no_dnssec_validation
|
self.no_dnssec_validation = self.dns.no_dnssec_validation
|
||||||
self.dnssec_master = self.dns.dnssec_master
|
self.dnssec_master = False
|
||||||
self.disable_dnssec_master = self.dns.disable_dnssec_master
|
self.disable_dnssec_master = False
|
||||||
self.kasp_db_file = self.dns.kasp_db_file
|
self.kasp_db_file = None
|
||||||
self.force = self.dns.force
|
self.force = False
|
||||||
self.zonemgr = None
|
self.zonemgr = None
|
||||||
self.no_host_dns = self.dns.no_host_dns
|
self.no_host_dns = self.dns.no_host_dns
|
||||||
self.no_dns_sshfp = self.dns.no_dns_sshfp
|
self.no_dns_sshfp = self.dns.no_dns_sshfp
|
||||||
|
Loading…
Reference in New Issue
Block a user