2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 01:22:00 +00:00

Register CA certs in global location for ubuntu

This commit is contained in:
Jarrod Johnson 2021-11-18 16:51:18 -05:00
parent 6d623b046a
commit 82a783fa55
2 changed files with 3 additions and 0 deletions

View File

@ -64,6 +64,8 @@ for nic in *; do
done
mkdir -p /etc/confluent
cd - > /dev/null
mkdir -p /etc/ssl/certs
cat /tls/*.pem > /etc/ssl/certs/ca-certificates.crt
cat /tls/*.pem > /etc/confluent/ca.pem
/opt/confluent/bin/copernicus -t > /etc/confluent/confluent.info
TRIES=0

View File

@ -22,6 +22,7 @@ function set_confluent_vars() {
if [ -z "$nodename" ]; then
nodename=$(grep ^NODENAME: /etc/confluent/confluent.info | awk '{print $2}')
fi
confluent_nodename=$nodename
if [[ "$confluent_mgr" == *"%"* ]]; then
confluent_mgr=""
fi