Created
July 24, 2014 22:14
-
-
Save bcreasy/34f59fa034a265793cd3 to your computer and use it in GitHub Desktop.
remote_file resource for accepting the jdk oracle license. would rather not commit 150mb tarballs to the cookbook repo.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
remote_file "#{Chef::Config[:file_cache_path]}/jdk-8u11-linux-x64.tar.gz" do | |
source "http://download.oracle.com/otn-pub/java/jdk/8u11-b12/jdk-8u11-linux-x64.tar.gz" | |
headers({"Cookie" => "oraclelicense=accept-securebackup-cookie"}) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment