set_os and set_cron_service_name sooner

This commit is contained in:
m0duspwnens
2022-04-11 15:36:02 -04:00
parent 6ed8694008
commit 01510c184a
2 changed files with 4 additions and 4 deletions

View File

@@ -1014,7 +1014,9 @@ main() {
echo "### Preparing soup at $(date) ###"
echo ""
if ! check_salt_master_status 30; then
set_os
set_cron_service_name
if ! check_salt_master_status; then
echo "Could not talk to salt master"
echo "Please run `systemctl status salt-master` to ensure the salt-master service is running."
exit 1
@@ -1055,8 +1057,6 @@ main() {
echo "Verifying we have the latest soup script."
verify_latest_update_script
echo ""
set_os
set_cron_service_name
set_palette
check_elastic_license
echo ""