File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
letsencrypt/letsencrypt-lego Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ function haproxy_transaction_start {
34
34
cert_input_sha1=$( openssl x509 -noout -fingerprint -sha1 -inform pem -in ${cert_input} | awk -F ' =' ' {print $2}' | sed -e ' s/://g' )
35
35
cert_dest_sha1=$( echo " show ssl cert *${cert_dest} " | socat unix-connect:/var/lib/kolla/haproxy/haproxy.sock - | awk -F ' SHA1 FingerPrint: ' ' {print $2}' | sed ' /^$/d' )
36
36
if [ " ${cert_input_sha1} " = " ${cert_dest_sha1} " ]; then
37
- log_info " [${cert_dest} - update] Transaction ${cert_input} -> ${cert_dest} successfull ."
37
+ log_info " [${cert_dest} - update] Transaction ${cert_input} -> ${cert_dest} successful ."
38
38
else
39
39
log_error " [${cert_dest} - update] Transaction ${cert_input} -> ${cert_dest} failed, SHA1 fingerprint of ${cert_input} is not the same as uploaded one."
40
40
exit 1
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ if [ "${INTERNAL_SET}" = "true" ] || [ "${EXTERNAL_SET}" = "true" ]; then
70
70
log_info " [${FQDN} - hook] Rsync lego data /etc/letsencrypt/lego/ to server ${server} and port ${port} "
71
71
rsync -a -e " ssh -p ${port} -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o IdentityFile=/var/lib/letsencrypt/.ssh/id_rsa" /etc/letsencrypt/lego/ haproxy@${server} :/etc/letsencrypt/lego/ --delete > /dev/null 2>&1
72
72
if [ " $? " -eq 0 ]; then
73
- log_info " [${FQDN} - hook] Rsync Successfull ."
73
+ log_info " [${FQDN} - hook] Rsync Successful ."
74
74
fi
75
75
76
76
else
You can’t perform that action at this time.
0 commit comments