Apply named state

This commit is contained in:
defensivedepth
2023-10-12 11:00:24 -04:00
parent 967138cdff
commit 98eab906af

View File

@@ -692,7 +692,7 @@ verify_latest_update_script() {
# Keeping this block in case we need to do a hotfix that requires salt update
apply_hotfix() {
if [[ "$INSTALLEDVERSION" == "2.4.20" ]] ; then
salt-call state.apply elastic-fleet -l info queue=True
salt-call state.apply elasticfleet -l info queue=True
. /usr/sbin/so-elastic-fleet-common
elastic_fleet_integration_remove endpoints-initial elastic-defend-endpoints
/usr/sbin/so-elastic-fleet-integration-policy-elastic-defend