sometimes salt-minion wouldn't start - this seems stable so far across 10 deploys

This commit is contained in:
Marno van der Molen 2014-05-17 03:38:57 +02:00
parent 2ddffa4fc6
commit 01f2c52251
1 changed files with 4 additions and 3 deletions

View File

@ -21,6 +21,7 @@ $webclient.DownloadFile($url, $file)
Write-Host "Installing Salt minion..."
C:\tmp\salt.exe /S
Write-Host "Waiting for Salt minion to start..."
# Give the minion some time to start before the highstate is called
Start-Sleep -s 5
# Wait a bit
Start-Sleep -s 10
net start salt-minion