include fleet state

This commit is contained in:
reyesj2
2026-08-28 13:45:55 -05:00
parent 0dbb7803ef
commit dd035beec4
+3 -3
View File
@@ -2147,9 +2147,9 @@ main() {
[[ $is_airgap -eq 0 ]] && unmount_update
if [[ "$es_version" != "$target_es_version" ]]; then
# Run final elasticsearch state on manager to ensure addon index templates are created/regenerated and loaded
echo "Running final elasticsearch state at $(date +"%T.%6N"), after upgrade to $NEWVERSION"
salt-call state.apply elasticsearch queue=True
# Run final elasticsearch / fleet state on manager to ensure addon index templates are created/regenerated and loaded
echo "Running final Elastic states at $(date +"%T.%6N"), after upgrade to $NEWVERSION"
salt-call state.apply elasticsearch,elasticfleet queue=True
fi
echo ""