Skip to content

Commit

Permalink
Merge pull request #13 from modestymaster/master
Browse files Browse the repository at this point in the history
Updated Java download parameters for jdk6
  • Loading branch information
tylerwalts committed Mar 17, 2014
2 parents cdd569e + 56ea94e commit b343f27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
$java_home = "${install_dir}/jdk1.7.0"
}
'6': {
$javaDownloadURI = "http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-${plat_filename}.bin"
$javaDownloadURI = "https://edelivery.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-${plat_filename}.bin"
$java_home = "${install_dir}/jdk1.6.0_45"
}
default: {
Expand All @@ -76,7 +76,7 @@
exec { 'get_jdk_installer':
cwd => $install_dir,
creates => "${install_dir}/${installerFilename}",
command => "wget -c --no-cookies --no-check-certificate --header \"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com\" \"${javaDownloadURI}\" -O ${installerFilename}",
command => "wget -c --no-cookies --no-check-certificate --header \"Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com\" --header \"Cookie: oraclelicense=accept-securebackup-cookie\" \"${javaDownloadURI}\" -O ${installerFilename}",
timeout => 600,
require => Package['wget'],
}
Expand Down

0 comments on commit b343f27

Please sign in to comment.