add set to troubleshoot failure

This commit is contained in:
m0duspwnens
2024-06-06 12:56:24 -04:00
parent 73ebf5256a
commit a39c88c7b4

View File

@@ -350,6 +350,7 @@ masterunlock() {
phases_pillar_2_4_80() { phases_pillar_2_4_80() {
echo "Checking if pillar value: elasticsearch.index_settings.global_overrides.index_template.phases exists" echo "Checking if pillar value: elasticsearch.index_settings.global_overrides.index_template.phases exists"
set +e
#so-yaml.py remove /opt/so/saltstack/local/pillar/elasticsearch/soc_elasticsearch.sls elasticsearch.index_settings.global_overrides.index_template.phases #so-yaml.py remove /opt/so/saltstack/local/pillar/elasticsearch/soc_elasticsearch.sls elasticsearch.index_settings.global_overrides.index_template.phases
#if so-yaml removed stuff add this message to the FINAL_MESSAGE_QUEUE #if so-yaml removed stuff add this message to the FINAL_MESSAGE_QUEUE
read -r -d '' msg << EOF read -r -d '' msg << EOF
@@ -361,6 +362,7 @@ phases_pillar_2_4_80() {
EOF EOF
FINAL_MESSAGE_QUEUE+=("$msg") FINAL_MESSAGE_QUEUE+=("$msg")
set -e
} }
preupgrade_changes() { preupgrade_changes() {