From 4e44188253cd0b0dfa2eefeca30b05948ef51166 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 25 Aug 2022 16:45:00 -0400 Subject: [PATCH] Ensure early existance of ca.pem Prior to install, enable apiclient to have the ca.pem where it would expect it to be. --- confluent_osdeploy/suse15/profiles/hpc/scripts/pre.sh | 1 + confluent_osdeploy/suse15/profiles/server/scripts/pre.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/confluent_osdeploy/suse15/profiles/hpc/scripts/pre.sh b/confluent_osdeploy/suse15/profiles/hpc/scripts/pre.sh index 7f386698..d1b5c912 100644 --- a/confluent_osdeploy/suse15/profiles/hpc/scripts/pre.sh +++ b/confluent_osdeploy/suse15/profiles/hpc/scripts/pre.sh @@ -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 diff --git a/confluent_osdeploy/suse15/profiles/server/scripts/pre.sh b/confluent_osdeploy/suse15/profiles/server/scripts/pre.sh index 7f386698..d1b5c912 100644 --- a/confluent_osdeploy/suse15/profiles/server/scripts/pre.sh +++ b/confluent_osdeploy/suse15/profiles/server/scripts/pre.sh @@ -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