Skip to content

Commit 88a133c

Browse files
authored
Merge pull request #104 from bryanjbelanger/patch-1
Update validate_version.pp
2 parents 5653b66 + 75fe498 commit 88a133c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

functions/validate_version.pp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
function peadm::validate_version(
22
String $version,
33
) {
4-
$supported = ($version =~ SemVerRange('2019.7.0'))
4+
$supported = ($version =~ SemVerRange('>= 2019.7.0 < 2019.9.0'))
55
66
unless $supported {
77
fail(@("REASON"/L))
@@ -10,7 +10,7 @@ function peadm::validate_version(
1010
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.7, 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)