Merge pull request #13624 from Security-Onion-Solutions/esver

fix es agent update for soup
This commit is contained in:
Josh Patterson
2024-09-06 10:46:18 -04:00
committed by GitHub
5 changed files with 10 additions and 8 deletions

View File

@@ -677,7 +677,8 @@ has_uppercase() {
}
update_elastic_agent() {
get_elastic_agent_vars
local path="${1:-/opt/so/saltstack/default}"
get_elastic_agent_vars "$path"
echo "Checking if Elastic Agent update is necessary..."
download_and_verify "$ELASTIC_AGENT_URL" "$ELASTIC_AGENT_MD5_URL" "$ELASTIC_AGENT_FILE" "$ELASTIC_AGENT_MD5" "$ELASTIC_AGENT_EXPANSION_DIR"
}