sync all modules before running states

This commit is contained in:
m0duspwnens committed 2023-08-01 16:21:06 -04:00
1 parent 599de60dc8
commit 7037fc52f8
1 file changed
+1
+1
View File
@@ -661,6 +661,7 @@ if ! [[ -f $install_opt_file ]]; then
logCmd "salt-call state.show_top"
sleep 2 # Debug RSA Key format errors
logCmd "salt-key -ya $MINION_ID"
logCmd "salt-call saltutil.sync_all"
logCmd "salt-call state.apply common.packages"
logCmd "salt-call state.apply common"