2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-02-04 13:02:25 +00:00

Ensure early existance of ca.pem

Prior to install, enable apiclient
to have the ca.pem where it would
expect it to be.
This commit is contained in:
Jarrod Johnson 2022-08-25 16:45:00 -04:00
parent 352da94005
commit 4e44188253
2 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@
exec >> /tmp/confluent-pre.log
exec 2>> /tmp/confluent-pre.log
chmod 600 /tmp/confluent-pre.log
cat /tls/*.pem > /etc/confluent/ca.pem
nodename=$(grep ^NODENAME /etc/confluent/confluent.info|awk '{print $2}')
rootpw=$(grep rootpassword: /etc/confluent/confluent.deploycfg|sed -e 's/^rootpassword: //')
if [ "$rootpw" = "null" ]; then

View File

@ -6,6 +6,7 @@
exec >> /tmp/confluent-pre.log
exec 2>> /tmp/confluent-pre.log
chmod 600 /tmp/confluent-pre.log
cat /tls/*.pem > /etc/confluent/ca.pem
nodename=$(grep ^NODENAME /etc/confluent/confluent.info|awk '{print $2}')
rootpw=$(grep rootpassword: /etc/confluent/confluent.deploycfg|sed -e 's/^rootpassword: //')
if [ "$rootpw" = "null" ]; then