You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ puppet apply --modulepath modules -e 'class { minecraft: source => "1.12", manage_java => false }' --noop
Notice: Compiled catalog for <machine name> in environment production in 0.37 seconds
Error: Parameter source failed on Archive[minecraft_server]: invalid source url: 1.12 at <path>/minecraft/manifests/source.pp:28
Any additional information you'd like to impart
Looks like the regex for minecraft versions in source.pp only allows three-part versions like 1.11.2, but the latest minecraft version is just called 1.12 in its S3 URL
The text was updated successfully, but these errors were encountered:
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
or
What are you seeing
When passing "1.12" as the version, the catalog does not compile:
When passing "1.12.0" as the version, minecraft fails to download:
What behaviour did you expect instead
Successfully downloading and installing the 1.12 server jar from https://s3.amazonaws.com/Minecraft.Download/versions/1.12/minecraft_server.1.12.jar
Output log
Any additional information you'd like to impart
Looks like the regex for minecraft versions in
source.pp
only allows three-part versions like1.11.2
, but the latest minecraft version is just called1.12
in its S3 URLThe text was updated successfully, but these errors were encountered: