mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 23:50:03 -06:00
Remove support for replica_file option from ipa-ca-install
Raise "Domain level 0 is not supported anymore" error if there are remainaing args after parsing. Remove all "DOMAIN LEVEL 0" and "DOMAIN LEVEL 1" prefixes from the man page. See: https://pagure.io/freeipa/issue/7669 Signed-off-by: Thomas Woerner <twoerner@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
parent
0377645747
commit
a170b284c4
@ -49,7 +49,7 @@ log_file_name = paths.IPAREPLICA_CA_INSTALL_LOG
|
||||
REPLICA_INFO_TOP_DIR = None
|
||||
|
||||
def parse_options():
|
||||
usage = "%prog [options] [REPLICA_FILE]"
|
||||
usage = "%prog [options]"
|
||||
parser = IPAOptionParser(usage=usage, version=version.VERSION)
|
||||
parser.add_option("-d", "--debug", dest="debug", action="store_true",
|
||||
default=False, help="gather extra debugging information")
|
||||
@ -105,6 +105,7 @@ def parse_options():
|
||||
safe_options = parser.get_safe_opts(options)
|
||||
|
||||
if args:
|
||||
parser.error("Domain level 0 is not supported anymore")
|
||||
filename = args[0]
|
||||
|
||||
if len(args) != 1:
|
||||
|
@ -20,20 +20,15 @@
|
||||
.SH "NAME"
|
||||
ipa\-ca\-install \- Install a CA on a server
|
||||
.SH "SYNOPSIS"
|
||||
.SS "DOMAIN LEVEL 0"
|
||||
.TP
|
||||
ipa\-ca\-install [\fIOPTION\fR]... [replica_file]
|
||||
.SS "DOMAIN LEVEL 1"
|
||||
.TP
|
||||
ipa\-ca\-install [\fIOPTION\fR]...
|
||||
.SH "DESCRIPTION"
|
||||
Adds a CA as an IPA\-managed service. This requires that the IPA server is already installed and configured.
|
||||
|
||||
In a domain at domain level 0, you can run ipa\-ca\-install without replica_file to upgrade from CA-less to CA-full, or with replica_file to install the CA service on the replica.
|
||||
ipa\-ca\-install can be used to upgrade from CA-less to CA-full or to install the CA service on a replica.
|
||||
|
||||
The replica_file is created using the ipa\-replica\-prepare utility and should be the same one used when originally installing the replica.
|
||||
Domain level 0 is not supported anymore.
|
||||
|
||||
In a domain at domain level 1, ipa\-ca\-install can be used to upgrade from CA-less to CA-full or to install the CA service on a replica, and does not require any replica file.
|
||||
.SH "OPTIONS"
|
||||
\fB\-d\fR, \fB\-\-debug\fR
|
||||
Enable debug logging when more verbose output is needed
|
||||
|
Loading…
Reference in New Issue
Block a user