voxpupuli / puppet-jira

Atlassian JIRA Puppet Module
https://forge.puppet.com/puppet/jira
Apache License 2.0
62 stars 143 forks source link

Jira downloads url default #294

Closed GrayPockets closed 5 years ago

GrayPockets commented 5 years ago

Affected Puppet, Ruby, OS and module versions/distributions

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

Use the module with default download_url

What are you seeing

The module fails to download Jira archive

What behaviour did you expect instead

The module downloads Jira archive (then installs it)

Output log

With original Url

change from 'absent' to 'present' failed: Execution of '/usr/bin/curl https://downloads.atlassian.com/software/jira/downloads//atlassian-servicedesk-3.15.1.tar.gz -o /tmp/atlassian-servicedesk-3.15.1.tar.gz_20190416-3720-837d1c -fsSL --max-redirs 5' returned 22: curl: (22) The requested URL returned error: 404 Not Found

Any additional information you'd like to impart

Recently it appears that Jira has moved its download location from https://downloads.atlassian.com/software/jira/downloads/ to https://product-downloads.atlassian.com/software/jira/downloads/

I suggest we update the default download_url

towo commented 5 years ago

Can confirm, just happened upon this myself.

towo commented 5 years ago

Well, @alexjfisher already fixed this in #286; it'll be in the next release. You can use the git version until then (mod puppet/jira, :git => https://github.com/voxpupuli/puppet-jira in a Puppetfile).