diff options
author | Michael Scherer <misc@mageia.org> | 2010-10-29 00:40:37 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2010-10-29 00:40:37 +0000 |
commit | 4dcbfa7ccc180de4de9e9d86e96d83917cb16688 (patch) | |
tree | 9d13a94f5024558f349b6d4f32aefe0a2f1e89b0 /modules/openldap/templates | |
parent | 3c4940554354980f75d3b3f91a0aa603672c4142 (diff) | |
download | puppet-4dcbfa7ccc180de4de9e9d86e96d83917cb16688.tar puppet-4dcbfa7ccc180de4de9e9d86e96d83917cb16688.tar.gz puppet-4dcbfa7ccc180de4de9e9d86e96d83917cb16688.tar.bz2 puppet-4dcbfa7ccc180de4de9e9d86e96d83917cb16688.tar.xz puppet-4dcbfa7ccc180de4de9e9d86e96d83917cb16688.zip |
- fix the config file so it work on x86_64 and x86
Diffstat (limited to 'modules/openldap/templates')
-rw-r--r-- | modules/openldap/templates/slapd.conf | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/openldap/templates/slapd.conf b/modules/openldap/templates/slapd.conf index 44226cee..926001e6 100644 --- a/modules/openldap/templates/slapd.conf +++ b/modules/openldap/templates/slapd.conf @@ -25,7 +25,11 @@ include /usr/share/openldap/schema/ppolicy.schema pidfile /var/run/ldap/slapd.pid argsfile /var/run/ldap/slapd.args -modulepath /usr/lib/openldap +<% +path_module_directory = "/usr/lib" + ( architecture == "x86_64" ? '64' : '') + "/openldap" +%> + +modulepath <%= path_module_directory %> moduleload back_monitor.la moduleload syncprov.la moduleload ppolicy.la |