Skip to content

Default download url fails to download the server jar #88

@Ph0B1uS

Description

@Ph0B1uS

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 8.1.0
  • Ruby:
  • Distribution: Debian 12
  • Module version: 5.0.1-rc0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions