From 17b5b816965a5c178d4c22d70661d94df95a0b3d Mon Sep 17 00:00:00 2001 From: Josh Patterson Date: Thu, 11 Dec 2025 18:04:02 -0500 Subject: [PATCH] dont have py3 yaml module installed yet so do it like this --- salt/manager/tools/sbin/so-minion | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/salt/manager/tools/sbin/so-minion b/salt/manager/tools/sbin/so-minion index 1d966315a..0aeb58c8a 100755 --- a/salt/manager/tools/sbin/so-minion +++ b/salt/manager/tools/sbin/so-minion @@ -716,10 +716,12 @@ function checkMine() { } } -# Add Elastic Agent settings to the minion file function create_ca_pillar() { local capillar=/opt/so/saltstack/local/pillar/ca/init.sls - /usr/sbin/so-yaml.py replace $capillar ca.server $MINION_ID + printf '%s\n'\ + "ca:"\ + " server: $MINION_ID"\ + " " > $capillar if [ $? -ne 0 ]; then log "ERROR" "Failed to add $MINION_ID to $capillar" return 1