Salt ver year.month can have 2-digit month
This commit is contained in:
parent
7c89bd47e0
commit
8c31a0c3ff
|
@ -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'
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue