Skip to content

Commit

Permalink
Update puppetserver/docker-entrypoint.d/99-log-config.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Tim Meusel <[email protected]>
  • Loading branch information
rwaffen and bastelfreak authored Jul 19, 2024
1 parent 7980c4d commit cf78be5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion puppetserver/docker-entrypoint.d/99-log-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if [ -n "${CERTNAME}" ]; then
echo "* CERTNAME: '${CERTNAME}'"
certname=${CERTNAME}.pem
else
echo "* CERTNAME: unset, try to use the oldest certificate in the certs directory, because this might be the one that was used initially."
echo "* CERTNAME: unset, try to use the oldest certificate in the certs directory, because this might be the one that was used initially."
certname=$(cd "${SSLDIR}/certs" && find * -type f -name '*.pem' ! -name ca.pem -print0 | xargs -0 ls -1tr | head -n 1)
if [ -z "${certname}" ]; then
echo "WARNING: No certificates found in ${SSLDIR}/certs! Please set CERTNAME!"
Expand Down

0 comments on commit cf78be5

Please sign in to comment.