voxpupuli / puppet-minecraft

Puppet - Minecraft: Separately maintained fork of brannan's puppet-module-minecraft
https://forge.puppet.com/puppet/minecraft
Apache License 2.0
14 stars 20 forks source link

Default download url fails to download the server jar #88

Open Ph0B1uS opened 1 year ago

Ph0B1uS commented 1 year ago

Affected Puppet, Ruby, OS and module versions/distributions

How to reproduce (e.g Puppet code you use)

Try and install any version of the minecraft server jar with the module

What are you seeing

The download fails with a http 403 and this goes for every version I've tried.

What behaviour did you expect instead

That the server jar file would be downloaded

Output log

Error: Execution of '/usr/bin/curl https://s3.amazonaws.com/Minecraft.Download/versions/1.19.1/minecraft_server.1.19.1.jar -o /tmp/minecraft_server.jar_20230713-15233-2u7hed -fsSLg --max-redirs 5' returned 22: curl: (22) The requested URL returned error: 403 Error: /Stage[main]/Minecraft::Source/Archive[minecraft_server]/ensure: change from 'absent' to 'present' failed: Execution of '/usr/bin/curl https://s3.amazonaws.com/Minecraft.Download/versions/1.19.1/minecraft_server.1.19.1.jar -o /tmp/minecraft_server.jar_20230713-15233-2u7hed -fsSLg --max-redirs 5' returned 22: curl: (22) The requested URL returned error: 403 (corrective)

Any additional information you'd like to impart

It works if one specifies a another source manually