mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-12 16:32:01 -05:00
Missed explicit reference to pki-ca, replace with self.service_name
This commit is contained in:
1 parent
74a5384169
commit
b4d039871d
1 file changed
+2
-2
@@ -610,9 +610,9 @@ class CAInstance(service.Service):
|
||||
sys.exit(0)
|
||||
|
||||
# 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.
|
||||
(stdout, stderr, returncode) = ipautil.run(["/sbin/service", "pki-ca", "status"])
|
||||
(stdout, stderr, returncode) = ipautil.run(["/sbin/service", self.service_name, "status"])
|
||||
try:
|
||||
stdout.index("CONFIGURED!")
|
||||
raise RuntimeError("pkisilent failed to configure instance.")
|
||||
|
||||
Reference in new issue
Block a user