Tell user what soup is doing at end of upgrade

This commit is contained in:
William Wernert
2021-09-23 12:43:23 -04:00
parent 292ce37ce4
commit b8b1867e52

View File

@@ -1016,6 +1016,7 @@ main() {
[[ $is_airgap -eq 0 ]] && unmount_update
thehive_maint
echo "Checking the number of minions."
NUM_MINIONS=$(ls /opt/so/saltstack/local/pillar/minions/*_*.sls | wc -l)
if [[ $UPGRADESALT -eq 1 ]] && [[ $NUM_MINIONS -gt 1 ]]; then
if [[ $is_airgap -eq 0 ]]; then
@@ -1026,8 +1027,10 @@ main() {
fi
fi
echo "Checking for local modifications."
check_local_mods
echo "Checking sudoers file."
check_sudoers
if [[ -n $lsl_msg ]]; then