mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
add set to troubleshoot failure
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user