hubspotdevops / puppet-nexus

Puppet module for Sonatype Nexus
MIT License
24 stars 92 forks source link

Nexus 3.x.x download URL is not working #83

Closed roccatgaming closed 7 years ago

roccatgaming commented 7 years ago

The default URL from where to download Nexus 3.x.x sources does not work. This is what is happening during a Puppet run:

Notice: /Stage[main]/Nexus::Package/Wget::Fetch[nexus-3.1.0-04-bundle.tar.gz]/Exec[wget-nexus-3.1.0-04-bundle.tar.gz]/returns: https://sonatype-download.global.ssl.fastly.net/nexus/oss/nexus-3.1.0-04-bundle.tar.gz:
Notice: /Stage[main]/Nexus::Package/Wget::Fetch[nexus-3.1.0-04-bundle.tar.gz]/Exec[wget-nexus-3.1.0-04-bundle.tar.gz]/returns: 2016-11-04 07:46:53 ERROR 404: Not Found.
Error: wget --no-verbose --output-document="/srv/nexus-3.1.0-04-bundle.tar.gz" "http://download.sonatype.com/nexus/oss/nexus-3.1.0-04-bundle.tar.gz" returned 8 instead of one of [0]
Error: /Stage[main]/Nexus::Package/Wget::Fetch[nexus-3.1.0-04-bundle.tar.gz]/Exec[wget-nexus-3.1.0-04-bundle.tar.gz]/returns: change from notrun to 0 failed: wget --no-verbose --output-document="/srv/nexus-3.1.0-04-bundle.tar.gz" "http://download.sonatype.com/nexus/oss/nexus-3.1.0-04-bundle.tar.gz" returned 8 instead of one of [0]
roccatgaming commented 7 years ago

The issues was a problem in the way I've used the module. I set the correct download URL and type and it worked. Closing issue.