Add soup to 2.3.90

This commit is contained in:
Mike Reeves
2021-11-10 16:31:44 -05:00
parent 9137454a25
commit ba553d971c

View File

@@ -399,6 +399,7 @@ postupgrade_changes() {
[[ "$POSTVERSION" == 2.3.20 || "$POSTVERSION" == 2.3.21 ]] && post_2.3.2X_to_2.3.30 [[ "$POSTVERSION" == 2.3.20 || "$POSTVERSION" == 2.3.21 ]] && post_2.3.2X_to_2.3.30
[[ "$POSTVERSION" == 2.3.30 ]] && post_2.3.30_to_2.3.40 [[ "$POSTVERSION" == 2.3.30 ]] && post_2.3.30_to_2.3.40
[[ "$POSTVERSION" == 2.3.50 ]] && post_2.3.5X_to_2.3.60 [[ "$POSTVERSION" == 2.3.50 ]] && post_2.3.5X_to_2.3.60
[[ "$POSTVERSION" == 2.3.60 ]] && post_2.3.60_to_2.3.90
true true
} }
@@ -424,6 +425,16 @@ post_2.3.5X_to_2.3.60() {
POSTVERSION=2.3.60 POSTVERSION=2.3.60
} }
post_2.3.60_to_2.3.90() {
# Do Kibana dashboard things
salt-call state.apply kibana.so_savedobjects_defaults queue=True
# Create Endgame Hostgroup
so-firewall addhostgroup endgame
POSTVERSION=2.3.90
}
rc1_to_rc2() { rc1_to_rc2() {
@@ -666,9 +677,11 @@ up_2.3.5X_to_2.3.80() {
} }
up_2.3.80_to_2.3.90() { up_2.3.80_to_2.3.90() {
# Fix Zeek so that it a bool vs a string
INSTALLEDVERSION=2.3.90
} }
verify_upgradespace() { verify_upgradespace() {
CURRENTSPACE=$(df -BG / | grep -v Avail | awk '{print $4}' | sed 's/.$//') CURRENTSPACE=$(df -BG / | grep -v Avail | awk '{print $4}' | sed 's/.$//')
if [ "$CURRENTSPACE" -lt "10" ]; then if [ "$CURRENTSPACE" -lt "10" ]; then