update latest salt minion version for windows

This commit is contained in:
Dafydd Jones 2017-04-05 16:08:29 +01:00 committed by Chris Roberts
parent 7b3c34c040
commit 71216cf4f9
2 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ $startupType = "Manual"
# Version to install - default to latest if there is an issue
If ($version -notmatch "2\d{3}\.\d{1,2}\.\d+(\-\d{1})?"){
$version = '2015.5.2'
$version = '2016.11.3'
}
If ($runservice.ToLower() -eq "true"){
@ -73,7 +73,7 @@ ElseIf(!$PSBoundParameters.ContainsKey('minion') -and $PSBoundParameters.Contain
}
Else {
C:\tmp\salt.exe /S | Out-Null
Write-Host C:\tmp\salt.exe /S | Out-Null
Write-Host C:\tmp\salt.exe /S | Out-Null
}
# Check if minion config has been uploaded
@ -92,7 +92,7 @@ If($runservice) {
# Start service
Start-Service -Name "salt-minion" -ErrorAction SilentlyContinue
# Check if service is started, otherwise retry starting the
# Check if service is started, otherwise retry starting the
# service 4 times.
$try = 0
While (($service.Status -ne "Running") -and ($try -ne 4)) {

View File

@ -75,7 +75,7 @@ distribution's stable package manager, git tree-ish, daily ppa, or testing repos
* `bootstrap_options` (string) - Additional command-line options to
pass to the bootstrap script.
* `version` (string, default: "2015.5.2") - Version of minion to be installed. Only supported on Windows guest machines.
* `version` (string, default: "2016.11.3") - Version of minion to be installed. Only supported on Windows guest machines.
## Minion Options
These only make sense when `no_minion` is `false`.