mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Missed explicit reference to pki-ca, replace with self.service_name
This commit is contained in:
@@ -610,9 +610,9 @@ class CAInstance(service.Service):
|
|||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
# pkisilent doesn't return 1 on error so look at the output of
|
# pkisilent doesn't return 1 on error so look at the output of
|
||||||
# /sbin/service pki-ca status. It will tell us if the instance
|
# /sbin/service pki-cad status. It will tell us if the instance
|
||||||
# still needs to be configured.
|
# still needs to be configured.
|
||||||
(stdout, stderr, returncode) = ipautil.run(["/sbin/service", "pki-ca", "status"])
|
(stdout, stderr, returncode) = ipautil.run(["/sbin/service", self.service_name, "status"])
|
||||||
try:
|
try:
|
||||||
stdout.index("CONFIGURED!")
|
stdout.index("CONFIGURED!")
|
||||||
raise RuntimeError("pkisilent failed to configure instance.")
|
raise RuntimeError("pkisilent failed to configure instance.")
|
||||||
|
|||||||
Reference in New Issue
Block a user