Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated url does not work #85

Open
nikkonix opened this issue Oct 24, 2017 · 1 comment
Open

Generated url does not work #85

nikkonix opened this issue Oct 24, 2017 · 1 comment

Comments

@nikkonix
Copy link

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

@slyoldfox
Copy link

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants