Merge pull request #6545 from iamseth/fix/windows_salt_bootstrap_url

Fixing the Salt bootstrap script for Windows
This commit is contained in:
Mitchell Hashimoto 2015-11-18 20:17:11 -08:00
commit 9e8b19b2b3
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ If ([IntPtr]::Size -eq 4) {
# Download minion setup file # Download minion setup file
Write-Host "Downloading Salt minion installer Salt-Minion-$version-$arch-Setup.exe" Write-Host "Downloading Salt minion installer Salt-Minion-$version-$arch-Setup.exe"
$webclient = New-Object System.Net.WebClient $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" $file = "C:\tmp\salt.exe"
$webclient.DownloadFile($url, $file) $webclient.DownloadFile($url, $file)