Merge pull request #14776 from Security-Onion-Solutions/reyesj2/msiflags

soup 2.4.170
This commit is contained in:
Jorge Reyes
2025-06-26 10:01:33 -05:00
committed by GitHub

View File

@@ -418,6 +418,7 @@ preupgrade_changes() {
[[ "$INSTALLEDVERSION" == 2.4.140 ]] && up_to_2.4.141
[[ "$INSTALLEDVERSION" == 2.4.141 ]] && up_to_2.4.150
[[ "$INSTALLEDVERSION" == 2.4.150 ]] && up_to_2.4.160
[[ "$INSTALLEDVERSION" == 2.4.160 ]] && up_to_2.4.170
true
}
@@ -446,6 +447,7 @@ postupgrade_changes() {
[[ "$POSTVERSION" == 2.4.140 ]] && post_to_2.4.141
[[ "$POSTVERSION" == 2.4.141 ]] && post_to_2.4.150
[[ "$POSTVERSION" == 2.4.150 ]] && post_to_2.4.160
[[ "$POSTVERSION" == 2.4.160 ]] && post_to_2.4.170
true
}
@@ -576,8 +578,7 @@ post_to_2.4.141() {
}
post_to_2.4.150() {
echo "Regenerating Elastic Agent Installers"
/sbin/so-elastic-agent-gen-installers
echo "Nothing to apply"
POSTVERSION=2.4.150
}
@@ -586,6 +587,12 @@ post_to_2.4.160() {
POSTVERSION=2.4.160
}
post_to_2.4.170() {
echo "Regenerating Elastic Agent Installers"
/sbin/so-elastic-agent-gen-installers
POSTVERSION=2.4.170
}
repo_sync() {
echo "Sync the local repo."
su socore -c '/usr/sbin/so-repo-sync' || fail "Unable to complete so-repo-sync."
@@ -829,6 +836,12 @@ up_to_2.4.160() {
INSTALLEDVERSION=2.4.160
}
up_to_2.4.170() {
echo "Nothing to do for 2.4.170"
INSTALLEDVERSION=2.4.170
}
add_hydra_pillars() {
mkdir -p /opt/so/saltstack/local/pillar/hydra
touch /opt/so/saltstack/local/pillar/hydra/soc_hydra.sls