FEATURE: Add queue=True to so-checkin so that it will wait for any running states #12815

This commit is contained in:
Doug Burks
2024-04-18 09:28:30 -04:00
committed by GitHub
parent 3854620bcd
commit 8d9aae1983

View File

@@ -5,8 +5,13 @@
# https://securityonion.net/license; you may not use this file except in compliance with the
# Elastic License 2.0.
. /usr/sbin/so-common
salt-call state.highstate -l info
cat << EOF
so-checkin will run a full salt highstate to apply all salt states. If a highstate is already running, this request will be queued and so it may pause for a few minutes before you see any more output. For more information about so-checkin and salt, please see:
https://docs.securityonion.net/en/2.4/salt.html
EOF
salt-call state.highstate -l info queue=True