Fixed "Unrecognised escape sequence" and "Deprecation notice" from ldap::server.
This commit is contained in:
parent
50f778a8e3
commit
3c862beaf5
1 changed files with 3 additions and 3 deletions
|
@ -502,7 +502,7 @@ class ldap::server {
|
|||
require => Exec["generate-slapd-schema-config"],
|
||||
}
|
||||
exec { "generate-slapd-schema-config":
|
||||
command => "find ${config}/schema/*.schema -exec echo 'include {}' \; | sort -n > ${config}/slapd.conf.d/schema.conf",
|
||||
command => "find ${config}/schema/*.schema -exec echo 'include {}' \\; | sort -n > ${config}/slapd.conf.d/schema.conf",
|
||||
path => "/bin:/usr/bin:/sbin:/usr/sbin",
|
||||
refreshonly => true,
|
||||
notify => Service["slapd"],
|
||||
|
@ -520,7 +520,7 @@ class ldap::server {
|
|||
notify => Service["slapd"],
|
||||
}
|
||||
exec { "generate-slapd-database-config":
|
||||
command => "find ${config}/slapd.conf.d/db.*.conf -exec echo 'include {}' \; > ${config}/slapd.conf.d/database.conf",
|
||||
command => "find ${config}/slapd.conf.d/db.*.conf -exec echo 'include {}' \\; > ${config}/slapd.conf.d/database.conf",
|
||||
path => "/bin:/usr/bin:/sbin:/usr/sbin",
|
||||
refreshonly => true,
|
||||
notify => Service["slapd"],
|
||||
|
@ -555,7 +555,7 @@ class ldap::server {
|
|||
# moduleoptions => [ "smbkrb5pwd-enable=samba", ]
|
||||
# }
|
||||
#
|
||||
define ldap::server::database($aclsource = "", $master = "", $syncpw = "", moduleoptions = []) {
|
||||
define ldap::server::database($aclsource = "", $master = "", $syncpw = "", $moduleoptions = []) {
|
||||
|
||||
include ldap::server
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue