From eaae9935f4a626fb3fc290b9c85c4a935c3fbc25 Mon Sep 17 00:00:00 2001 From: Thomas Woerner Date: Mon, 10 Sep 2018 14:56:26 +0200 Subject: [PATCH] Remove DL0 specific code from dsinstance ipaserver/install Promote is now hard set to True in create_replica for later use in _get_replication_manager. See: https://pagure.io/freeipa/issue/7689 Signed-off-by: Thomas Woerner Reviewed-By: Alexander Bokovoy --- ipaserver/install/dsinstance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipaserver/install/dsinstance.py b/ipaserver/install/dsinstance.py index 926a67792..5977cc749 100644 --- a/ipaserver/install/dsinstance.py +++ b/ipaserver/install/dsinstance.py @@ -361,7 +361,7 @@ class DsInstance(service.Service): domain_name, dm_password, subject_base, ca_subject, api, pkcs12_info=None, ca_file=None, - ca_is_configured=None, promote=False, + ca_is_configured=None, setup_pkinit=False): # idstart and idmax are configured so that the range is seen as # depleted by the DNA plugin and the replica will go and get a @@ -386,7 +386,7 @@ class DsInstance(service.Service): self.master_fqdn = master_fqdn if ca_is_configured is not None: self.ca_is_configured = ca_is_configured - self.promote = promote + self.promote = True self.api = api self.__common_setup()