mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-11-16 01:14:09 +01:00
include fleet state
This commit is contained in:
1 file changed
+3
-3
@@ -2147,9 +2147,9 @@ main() {
|
|||||||
[[ $is_airgap -eq 0 ]] && unmount_update
|
[[ $is_airgap -eq 0 ]] && unmount_update
|
||||||
|
|
||||||
if [[ "$es_version" != "$target_es_version" ]]; then
|
if [[ "$es_version" != "$target_es_version" ]]; then
|
||||||
# Run final elasticsearch state on manager to ensure addon index templates are created/regenerated and loaded
|
# Run final elasticsearch / fleet 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"
|
echo "Running final Elastic states at $(date +"%T.%6N"), after upgrade to $NEWVERSION"
|
||||||
salt-call state.apply elasticsearch queue=True
|
salt-call state.apply elasticsearch,elasticfleet queue=True
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Reference in new issue
Block a user