Merge pull request #8428 from knbnnate/master

Salt ver year.month can have 2-digit month
This commit is contained in:
Chris Roberts 2017-04-11 20:42:42 -07:00 committed by GitHub
commit a60fe47965
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ $ServiceName = "salt-minion"
$startupType = "Manual"
# Version to install - default to latest if there is an issue
If ($version -notmatch "201[0-9]\.[0-9]\.[0-9](\-\d{1})?"){
If ($version -notmatch "2\d{3}\.\d{1,2}\.\d+(\-\d{1})?"){
$version = '2015.5.2'
}