mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Update SaltStack repo location and latest version
This commit is contained in:
parent
2415bfa1ae
commit
05f344c596
1 changed files with 3 additions and 3 deletions
|
@ -40,14 +40,14 @@ is dynamically determined by the script.
|
||||||
Bootstrap GitHub Project (script home) - https://github.com/saltstack/salt-windows-bootstrap
|
Bootstrap GitHub Project (script home) - https://github.com/saltstack/salt-windows-bootstrap
|
||||||
Original Vagrant Provisioner Project -https://github.com/saltstack/salty-vagrant
|
Original Vagrant Provisioner Project -https://github.com/saltstack/salty-vagrant
|
||||||
Vagrant Project (utilizes this script) - https://github.com/mitchellh/vagrant
|
Vagrant Project (utilizes this script) - https://github.com/mitchellh/vagrant
|
||||||
SaltStack Download Location - http://docs.saltstack.com/downloads/
|
SaltStack Download Location - https://repo.saltstack.com/windows/
|
||||||
#>
|
#>
|
||||||
[CmdletBinding()]
|
[CmdletBinding()]
|
||||||
Param(
|
Param(
|
||||||
[Parameter(Mandatory=$false,ValueFromPipeline=$true)]
|
[Parameter(Mandatory=$false,ValueFromPipeline=$true)]
|
||||||
# Doesn't support versions prior to "YYYY.M.R-B"
|
# Doesn't support versions prior to "YYYY.M.R-B"
|
||||||
[ValidatePattern('^(201[0-9]\.[0-9]\.[0-9](\-\d{1})?)$')]
|
[ValidatePattern('^(201[0-9]\.[0-9]\.[0-9](\-\d{1})?)$')]
|
||||||
[string]$version = "2015.5.2",
|
[string]$version = "2015.8.3",
|
||||||
|
|
||||||
[Parameter(Mandatory=$false,ValueFromPipeline=$true)]
|
[Parameter(Mandatory=$false,ValueFromPipeline=$true)]
|
||||||
[ValidateSet("true","false")]
|
[ValidateSet("true","false")]
|
||||||
|
@ -102,7 +102,7 @@ If ([IntPtr]::Size -eq 4) {
|
||||||
# Download minion setup file
|
# Download minion setup file
|
||||||
Write-Host -NoNewline "Downloading Salt minion installer Salt-Minion-$version-$arch-Setup.exe"
|
Write-Host -NoNewline "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)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue