mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-11-02 20:30:26 -06:00
Load dogtag RA plugin in installers so profiles can be loaded
In order to call import_included_profiles the dogtag RA plugin needs to have been loaded. Modify the requirements to also allow the installer context along with the ra_plugin value. This lets us add missing profiles during a replica installation. This is needed for ACME when installing a new replica in a cluster of older servers that don't have support for ACME. https://pagure.io/freeipa/issue/8738 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Mohammad Rizwan <myusuf@redhat.com> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
1 parent
9ec73436bc
commit
b01547da79
2 files changed
+17
-4
No files matched your search
@@ -477,12 +477,17 @@ class CAInstance(DogtagInstance):
|
||||
self.step("exposing CA instance on LDAP",
|
||||
self.__expose_ca_in_ldap)
|
||||
|
||||
self.step("migrating certificate profiles to LDAP",
|
||||
migrate_profiles_to_ldap)
|
||||
self.step("importing IPA certificate profiles",
|
||||
import_included_profiles)
|
||||
self.step("migrating certificate profiles to LDAP",
|
||||
migrate_profiles_to_ldap)
|
||||
self.step("adding default CA ACL", ensure_default_caacl)
|
||||
self.step("adding 'ipa' CA entry", ensure_ipa_authority_entry)
|
||||
else:
|
||||
# Re-import profiles in the promote case to pick up any
|
||||
# that will only be triggered by an upgrade.
|
||||
self.step("importing IPA certificate profiles",
|
||||
import_included_profiles)
|
||||
|
||||
self.step("configuring certmonger renewal for lightweight CAs",
|
||||
self.add_lightweight_ca_tracking_requests)
|
||||
|
||||
Reference in new issue
Block a user