Skip to content

Commit 75fe498

Browse files
committed
Expand valid versions to include 2019.7 and 2019.8
1 parent 03e01a3 commit 75fe498

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

functions/validate_version.pp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
function peadm::validate_version(
22
String $version,
33
) {
4-
$supported = ($version =~ SemVerRange('2019.8.0'))
4+
$supported = ($version =~ SemVerRange('>= 2019.7.0 < 2019.9.0'))
55
66
unless $supported {
77
fail(@("REASON"/L))
88
This version of the puppetlabs-peadm module does not support PE ${version}.
99

10-
For PE versions older than 2019.8, please use version 1.x of the \
10+
For PE versions older than 2019.7, please use version 1.x of the \
1111
puppetlabs-peadm module.
1212

13-
For PE versions newer than 2019.8, check to see if a new version of peadm \
13+
For PE versions newer than 2019.8.x, check to see if a new version of peadm \
1414
exists which supports that version of PE.
1515

1616
| REASON

0 commit comments

Comments
 (0)