Browse Source

Fix newly found shellcheck issues

mute-return_output-in-explorers
Darko Poljak 2 years ago
parent
commit
38ccdfda32
  1. 1
      cdist/conf/type/__cdist/manifest
  2. 1
      cdist/conf/type/__openldap_server/manifest

1
cdist/conf/type/__cdist/manifest vendored

@ -37,6 +37,7 @@ source="$(cat "$__object/parameter/source")"
# out of it
home=/home/$username
# shellcheck disable=SC2086
__user "$username" --home "$home" $shell
require="__user/$username" __directory "$home" \

1
cdist/conf/type/__openldap_server/manifest vendored

@ -168,6 +168,7 @@ if [ -z "${_skip_letsencrypt_cert}" ]; then
staging=""
fi
# shellcheck disable=SC2086
__letsencrypt_cert "${name}" --admin-email "${admin_email}" \
--renew-hook "cp ${ETC}/letsencrypt/live/${name}/*.pem ${SLAPD_DIR}/sasl2 && chown -R openldap:openldap ${SLAPD_DIR}/sasl2 && service slapd restart" \
--automatic-renewal ${staging}

Loading…
Cancel
Save