Revision
62
Author
misc
Date
2010-10-29 02:40:37 +0200 (Fri, 29 Oct 2010)

Log Message

- fix the config file so it work on x86_64 and x86

Modified Paths

Diff

Modified: puppet/modules/openldap/templates/slapd.conf (61 => 62)


--- puppet/modules/openldap/templates/slapd.conf	2010-10-29 00:38:08 UTC (rev 61)
+++ puppet/modules/openldap/templates/slapd.conf	2010-10-29 00:40:37 UTC (rev 62)
@@ -25,7 +25,11 @@
 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