mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Need to restart the dogtag 388-ds instance before using it.
Restart the 389-ds instance to ensure all schema is loaded that dogtag may have installed as files. According to bug https://bugzilla.redhat.com/show_bug.cgi?id=680984 this it is only needed on clones. ticket 1024
This commit is contained in:
parent
f476c097d2
commit
f69dc03f07
@ -176,6 +176,23 @@ def install_ca(config):
|
||||
master_host=config.master_host_name,
|
||||
subject_base=config.subject_base)
|
||||
|
||||
# The dogtag DS instance needs to be restarted after installation.
|
||||
# The procedure for this is: stop dogtag, stop DS, start DS, start
|
||||
# dogtag
|
||||
#
|
||||
# The service_name trickery is due to the service naming we do
|
||||
# internally. In the case of the dogtag DS the name doesn't match the
|
||||
# unix service.
|
||||
|
||||
service_name = cs.service_name
|
||||
service.print_msg("Restarting the directory and certificate servers")
|
||||
cs.service_name = "dirsrv"
|
||||
cs.stop("PKI-IPA")
|
||||
ca.stop()
|
||||
cs.start("PKI-IPA")
|
||||
ca.start()
|
||||
cs.service_name = service_name
|
||||
|
||||
return ca
|
||||
|
||||
def install_replica_ds(config):
|
||||
|
Loading…
Reference in New Issue
Block a user