aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <dev@blino.org>2015-11-22 01:06:28 +0100
committerOlivier Blin <dev@blino.org>2015-11-30 01:32:43 +0100
commit2a8e0a01982554b43a48b1e41cc2b965fdc4b5e0 (patch)
tree4ec29e54f6c63f53eb26973efb23591400df1c51
parent8822d1c7be9cfe2783f886922a778410bacd93cc (diff)
downloadpuppet-2a8e0a01982554b43a48b1e41cc2b965fdc4b5e0.tar
puppet-2a8e0a01982554b43a48b1e41cc2b965fdc4b5e0.tar.gz
puppet-2a8e0a01982554b43a48b1e41cc2b965fdc4b5e0.tar.bz2
puppet-2a8e0a01982554b43a48b1e41cc2b965fdc4b5e0.tar.xz
puppet-2a8e0a01982554b43a48b1e41cc2b965fdc4b5e0.zip
openldap: load back_bdb module on Mageia >= 4
As detected by tmb on new valstar
-rw-r--r--modules/openldap/templates/slapd.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/openldap/templates/slapd.conf b/modules/openldap/templates/slapd.conf
index 9451d6cd..eda97611 100644
--- a/modules/openldap/templates/slapd.conf
+++ b/modules/openldap/templates/slapd.conf
@@ -30,6 +30,9 @@ pidfile /var/run/ldap/slapd.pid
argsfile /var/run/ldap/slapd.args
modulepath <%= lib_dir %>/openldap
+<% if scope.function_versioncmp([lsbdistrelease, '4']) >= 0 %>
+moduleload back_bdb.la
+<% end %>
moduleload back_monitor.la
moduleload syncprov.la
moduleload ppolicy.la