Fixed ldap::server modules for Ubuntu and Debian.
This commit is contained in:
parent
de18ca60ab
commit
2ca1f702c6
2 changed files with 5 additions and 1 deletions
|
@ -356,7 +356,7 @@ class ldap::server {
|
|||
$package_name = "slapd"
|
||||
$service_name = "slapd"
|
||||
$config = "/etc/ldap"
|
||||
$modulepath = "/usr/lib/openldap"
|
||||
$modulepath = "/usr/lib/ldap"
|
||||
}
|
||||
"fedora": {
|
||||
$user = "ldap"
|
||||
|
|
|
@ -27,6 +27,10 @@ argsfile /var/run/openldap/slapd.args
|
|||
modulepath <%= modulepath %>
|
||||
moduleload ppolicy.la
|
||||
moduleload syncprov.la
|
||||
<% if ['Ubuntu','Debian'].index(operatingsystem) -%>
|
||||
moduleload back_hdb.la
|
||||
moduleload back_monitor.la
|
||||
<% end -%>
|
||||
<% if has_variable?('ldap_server_modules') -%>
|
||||
<% ldap_server_modules.each do |name| -%>
|
||||
moduleload <%= name %>.la
|
||||
|
|
Loading…
Add table
Reference in a new issue