Skip to content

Instantly share code, notes, and snippets.

@tfitch
Created June 29, 2013 04:33
Show Gist options
  • Save tfitch/5889761 to your computer and use it in GitHub Desktop.
Save tfitch/5889761 to your computer and use it in GitHub Desktop.
Download the Java installer from your Artifactory server
remote_file "/install/location/path/jdk-1_5_0_XYZ-linux-i586.bin" do
source "http://your.artifactory.example.com/artifactory/yourRepo/jdk-1_5_0_XYZ-linux-i586.bin"
mode "0700"
not_if { ::File.exists?('/install/location/path/jdk-1_5_0_XYZ-linux-i586.bin') }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment