ldap: Fix running slaptest if database is empty.
This commit is contained in:
parent
20cee66542
commit
42b2582bbc
1 changed files with 2 additions and 1 deletions
|
@ -497,7 +497,8 @@ class ldap::server {
|
|||
}
|
||||
|
||||
exec { "slaptest":
|
||||
command => "slaptest -f ${config}/slapd.conf",
|
||||
command => "slaptest -f ${config}/slapd.conf -u",
|
||||
user => $user,
|
||||
path => "/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin",
|
||||
refreshonly => true,
|
||||
require => File["${config}/slapd.conf.d"],
|
||||
|
|
Loading…
Add table
Reference in a new issue