mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Use single update LDIF for indices
Index definitions were split across four files. indices.ldif contained the initial subset of indices. Three update files partly duplicated the indices and partly added new indices. All indices are now defined in a single update file that is sorted alphanumerically. The changeset avoids two additional index tasks and reduces installation time by 5 to 10 seconds. Fixes: https://pagure.io/freeipa/issue/8493 Signed-off-by: Christian Heimes <cheimes@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
@@ -1023,7 +1023,7 @@ class DsInstance(service.Service):
|
||||
__add_principal('ipa-ldap-delegation-targets', 'ldap', self)
|
||||
|
||||
def __create_indices(self):
|
||||
self._ldap_mod("indices.ldif")
|
||||
self._ldap_update(["20-indices.update"])
|
||||
|
||||
def __certmap_conf(self):
|
||||
write_certmap_conf(self.realm, self.ca_subject)
|
||||
|
||||
Reference in New Issue
Block a user