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]
The default URL from where to download Nexus 3.x.x sources does not work. This is what is happening during a Puppet run: