diff --git a/so-setup-network.sh b/so-setup-network.sh index 7e78ba8ea..b7094d3d4 100644 --- a/so-setup-network.sh +++ b/so-setup-network.sh @@ -526,7 +526,6 @@ salt_checkin() { # Master State to Fix Mine Usage if [ $INSTALLTYPE == 'MASTERONLY' ]; then salt-call state.apply ca >>~/sosetup.log 2>&1 - sudo salt '*' mine.send x509.get_pem_entries glob_path=/etc/pki/ca.crt # salt-call state.apply ssl >>~/sosetup.log 2>&1 # salt-call state.apply common >>~/sosetup.log 2>&1 echo " *** Restarting Salt to fix any SSL errors. ***" @@ -534,6 +533,11 @@ salt_checkin() { sleep 5 service salt-minion restart sleep 5 + echo " Applyng a mine hack " + sudo salt '*' mine.send x509.get_pem_entries glob_path=/etc/pki/ca.crt + echo " Applying SSL state " + salt-call state.apply ssl + echo " Oh run the rest of the checkin " salt-call state.highstate else