update mine

update mine after salt-master restart and before highstate
This commit is contained in:
Josh Patterson
2025-03-22 12:57:13 -04:00
committed by GitHub
parent 14c95a5fe0
commit 0952b7528f

View File

@@ -1439,6 +1439,9 @@ main() {
# Stop long-running scripts to allow potentially updated scripts to load on the next execution.
killall salt-relay.sh
# ensure the mine is updated and populated before highstates run, following the salt-master restart
update_salt_mine
highstate
postupgrade_changes
[[ $is_airgap -eq 0 ]] && unmount_update