mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
this method does not cause soup to fail
This commit is contained in:
@@ -314,7 +314,7 @@ disable_logstash_heavynodes() {
|
|||||||
for file in /opt/so/saltstack/local/pillar/minions/*.sls; do
|
for file in /opt/so/saltstack/local/pillar/minions/*.sls; do
|
||||||
if [[ "$file" =~ "_heavynode.sls" && ! "$file" =~ "/opt/so/saltstack/local/pillar/minions/adv_" ]]; then
|
if [[ "$file" =~ "_heavynode.sls" && ! "$file" =~ "/opt/so/saltstack/local/pillar/minions/adv_" ]]; then
|
||||||
if [ "$c" -eq 0 ]; then
|
if [ "$c" -eq 0 ]; then
|
||||||
((c++))
|
c=$((c + 1))
|
||||||
FINAL_MESSAGE_QUEUE+=("Logstash has been disabled on all heavynodes. It can be re-enabled via Grid Configuration in SOC.")
|
FINAL_MESSAGE_QUEUE+=("Logstash has been disabled on all heavynodes. It can be re-enabled via Grid Configuration in SOC.")
|
||||||
fi
|
fi
|
||||||
echo "Disabling Logstash for: $file"
|
echo "Disabling Logstash for: $file"
|
||||||
|
|||||||
Reference in New Issue
Block a user