mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
agent-installer: fail where it should fail
This commit is contained in:
parent
50521bdecb
commit
d7364e45e8
@ -177,7 +177,7 @@ elif [ -z "${ICINGA2_DRYRUN}" ]; then
|
||||
--cert "${ICINGA2_SSLDIR}/${ICINGA2_NODENAME}.crt" \
|
||||
--trustedcert "${ICINGA2_SSLDIR}/trusted-master.crt" \
|
||||
--ca "${ICINGA2_SSLDIR}/ca.crt"
|
||||
then "Could not retrieve final certificate from host ${ICINGA2_CA_NODE}"
|
||||
then fail "Could not retrieve final certificate from host ${ICINGA2_CA_NODE}"
|
||||
fi
|
||||
else
|
||||
info "Would create certificates under ${ICINGA2_SSLDIR}, but in dry-run!"
|
||||
|
Loading…
x
Reference in New Issue
Block a user