Fixing the Salt bootstrap script for Windows

The URL for the download has changed as per issue #6274
This commit is contained in:
Seth Miller 2015-11-18 21:55:32 -06:00
parent a0ab17f2e7
commit c8a18fda26
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ If ([IntPtr]::Size -eq 4) {
# Download minion setup file
Write-Host "Downloading Salt minion installer Salt-Minion-$version-$arch-Setup.exe"
$webclient = New-Object System.Net.WebClient
$url = "https://docs.saltstack.com/downloads/Salt-Minion-$version-$arch-Setup.exe"
$url = "https://repo.saltstack.com/windows/Salt-Minion-$version-$arch-Setup.exe"
$file = "C:\tmp\salt.exe"
$webclient.DownloadFile($url, $file)