From 0fa692a5265f4764e3e43fda65eced50e7f42448 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Tue, 23 Apr 2019 11:14:45 +0200 Subject: [PATCH] Debian: Use RedHatCAService for pki-tomcatd The RedHatCAService service class contains extra logic to wait for CA service to be up and running. Debian now correctly waits for Dogtag before proceeding with the installation process. Fixes: https://pagure.io/freeipa/issue/7916 Signed-off-by: Christian Heimes Reviewed-By: Alexander Bokovoy Reviewed-By: Rob Crittenden --- ipaplatform/debian/services.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ipaplatform/debian/services.py b/ipaplatform/debian/services.py index fed74f792..812bbdaf2 100644 --- a/ipaplatform/debian/services.py +++ b/ipaplatform/debian/services.py @@ -153,6 +153,8 @@ def debian_service_class_factory(name, api=None): return DebianNoService(name, api) if name == 'ipa': return redhat_services.RedHatIPAService(name, api) + if name in ('pki-tomcatd', 'pki_tomcatd'): + return redhat_services.RedHatCAService(name, api) if name == 'ntpd': return DebianSysvService("ntp", api) return DebianService(name, api)