[new-type] __openldap_server: fix docs / dependency.

It's nicer to have slapd_flags after slapd_enable in rc.conf on freebsd.
remotes/origin/6.3
Evilham 5 years ago
parent 22c5cd550b
commit 79d58f0813
  1. 6
      cdist/conf/type/__openldap_server/man.rst
  2. 2
      cdist/conf/type/__openldap_server/manifest

@ -141,9 +141,9 @@ EXAMPLES
--serverid 0 \
--suffix 'dc=camilion,dc=cloud' \
--slapd-url 'ldaps://ldap.camilion.cloud' \
--tls-cert '${pki_prefix}/default.crt' \
--tls-privkey '${pki_prefix}/default.key' \
--tls-ca '${pki_prefix}/CA.crt'
--tls-cert "${pki_prefix}/default.crt" \
--tls-privkey "${pki_prefix}/default.key" \
--tls-ca "${pki_prefix}/CA.crt"
# The created basedn looks as follows:
#

@ -126,7 +126,7 @@ require="__package/${PKG_MAIN}" __start_on_boot slapd
# Setup -h flag for the listeners. See man slapd (-h flag).
case "${os}" in
freebsd)
require="__package/${PKG_MAIN}" __key_value \
require="__start_on_boot/slapd" __key_value \
--file "/etc/rc.conf" \
--key "slapd_flags" \
--value "\"-h '${slapd_urls}'\"" \

Loading…
Cancel
Save