puppet-jdk_oracle
puppet-jdk_oracle copied to clipboard
Generated url does not work
Hello, Please tell me if I do smth wrong I tried to define versions/build/package. Generated url is not valid one. Most simple use -> class { 'jdk_oracle': }
output: (puppet) Error: Execution of '/usr/bin/curl http://download.oracle.com/otn-pub/java/jdk/8u121-b13/e9e7ea248e2c4826b92b3f075a80e441/jdk-8u121-linux-x64.tar.gz -o /tmp/jdk-8u121-linux-x64.tar.gz_20171024-2558-1wu6zvy -fsSL --max-redirs 5 --cookie oraclelicense=accept-securebackup-cookie' returned 22: curl: (22) The requested URL returned error: 404 Not Found Error: /Stage[main]/Jdk_oracle/Jdk_oracle::Install[jdk_oracle]/Archive[/opt/jdk-8u121-linux-x64.tar.gz]/ensure: change from absent to present failed: Execution of '/usr/bin/curl http://download.oracle.com/otn-pub/java/jdk/8u121-b13/e9e7ea248e2c4826b92b3f075a80e441/jdk-8u121-linux-x64.tar.gz -o /tmp/jdk-8u121-linux-x64.tar.gz_20171024-2558-1wu6zvy -fsSL --max-redirs 5 --cookie oraclelicense=accept-securebackup-cookie' returned 22: curl: (22) The requested URL returned error: 404 Not Found
manually the same -> $ /usr/bin/curl http://download.oracle.com/otn-pub/java/jdk/8u121-b13/e9e7ea248e2c4826b92b3f075a80e441/jdk-8u121-linux-x64.tar.gz -o /tmp/jdk-8u121-linux-x64.tar.gz_20171024-2558-1wu6zvy -fsSL --max-redirs 5 --cookie oraclelicense=accept-securebackup-cookie curl: (22) The requested URL returned error: 404 Not Found
Thank you in advance Best Regards Atanas
@nikkonix I suppose this might be related to the fact that you have to login with an Oracle account right now?
@tylerwalts any clue if this is the case and if that's an easy fix to provide a login & username for the downloads?