Updated all templates to use instance variables
This commit is contained in:
parent
a0c854d3c0
commit
dc51af1ca2
113 changed files with 527 additions and 522 deletions
|
@ -24,15 +24,15 @@ argsfile <%= scope.lookupvar('ldap::server::rundir') %>/slapd.args
|
|||
|
||||
# overlay modules to load
|
||||
<% if scope.lookupvar('ldap::server::modulepath') != '' -%>
|
||||
modulepath <%= modulepath %>
|
||||
modulepath <%= @modulepath %>
|
||||
moduleload ppolicy.la
|
||||
moduleload syncprov.la
|
||||
<% if ['Ubuntu','Debian'].index(operatingsystem) -%>
|
||||
<% 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| -%>
|
||||
<% if @ldap_server_modules -%>
|
||||
<% @ldap_server_modules.each do |name| -%>
|
||||
moduleload <%= name %>.la
|
||||
<% end -%>
|
||||
<% end -%>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue