Skip to content
This repository has been archived by the owner on Aug 22, 2018. It is now read-only.

Commit

Permalink
Import java version 1.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Aug 24, 2013
1 parent f291338 commit 8e7106a
Show file tree
Hide file tree
Showing 28 changed files with 1,954 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cookbooks/java/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.bundle
.cache
.kitchen
bin
#*#
*~
.#*#
.kitchen/
.kitchen.local.yml
67 changes: 67 additions & 0 deletions cookbooks/java/.kitchen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
---
driver_plugin: vagrant
driver_config:
require_chef_omnibus: true

platforms:
- name: ubuntu-12.04
driver_config:
box: opscode-ubuntu-12.04
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_ubuntu-12.04_provisionerless.box
run_list: ["recipe[apt]"]

- name: ubuntu-10.04
driver_config:
box: opscode-ubuntu-10.04
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_ubuntu-10.04_provisionerless.box
require_chef_omnibus: true
run_list: ["recipe[apt]"]

- name: debian-6
driver_config:
box: opscode-debian-6
box_url: http://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_debian-6.0.7_provisionerless.box
run_list: ["recipe[apt]"]

- name: centos-6.4
driver_config:
box: opscode-centos-6.4
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_centos-6.4_provisionerless.box

- name: centos-5.9
driver_config:
box: opscode-centos-5.9
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode_centos-5.9_provisionerless.box

- name: fedora-18
driver_config:
box: opscode-fedora-18
box_url: https://opscode-vm-bento.s3.amazonaws.com/vagrant/opscode-fedora-18_provisionerless.box

suites:
- name: openjdk
excludes: ["fedora-18"]
run_list: ["recipe[minitest-handler]", "recipe[java::openjdk]"]
attributes: {}
- name: openjdk-7
excludes: ["ubuntu-10.04", "debian-6"]
run_list: ["recipe[minitest-handler]", "recipe[java::openjdk]"]
attributes:
java:
jdk_version: "7"

- name: oracle
run_list: ["recipe[minitest-handler]", "recipe[java::oracle]"]
attributes:
java:
oracle:
accept_oracle_download_terms: true
install_flavor: "oracle"
- name: oracle-7
run_list: ["recipe[minitest-handler]", "recipe[java::oracle]"]
attributes:
java:
jdk_version: "7"
oracle:
accept_oracle_download_terms: true
install_flavor: "oracle"
7 changes: 7 additions & 0 deletions cookbooks/java/Berksfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
site :opscode
metadata

group :integration do
cookbook "apt"
cookbook "minitest-handler"
end
150 changes: 150 additions & 0 deletions cookbooks/java/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
## v1.12.0:

### Improvement

- [COOK-2154]: Add SmartOS support to java::openjdk recipe
- [COOK-3278]: upgrade to Oracle Java 7u25

### Bug

- [COOK-2931]: Adding support for the platform 'xenserver' (for
installations of java in DOM0)
- [COOK-3277]: java cookbook fails on Fedora

## v1.11.6:

### Bug

- [COOK-2847]: Java cookbook does not have opensuse support
- [COOK-3142]: Syntax Errors spec/default_spec.rb:4-8

## v1.11.4:

### Bug

- [COOK-2989]: `bash[update-java-alternatives]` resource uses wrong attribute

## v1.11.2:

### Bug

- Use SHA256 checksums for Oracle downloads, not SHA1.

## v1.11.0:

This version brings a wealth of tests and (backwards-compatible)
refactoring, plus some new features (updated Java, IBM recipe).

### Sub-task

- [COOK-2897]: Add ibm recipe to java cookbook
- [COOK-2903]: move java_home resources to their own recipe
- [COOK-2904]: refactor ruby_block "update-java-alternatives"
- [COOK-2905]: use platform_family in java cookbook
- [COOK-2920]: add chefspec to java cookbook

### Task

- [COOK-2902]: Refactor java cookbook

### Improvement

- [COOK-2900]: update JDK to JDK 7u21, 6u45

## v1.10.2:

* [COOK-2415] - Fixed deprecation warnings in ark provider and openjdk
recipe by using Chef::Mixin::ShellOut instead of Chef::ShellOut

## v1.10.0:

* [COOK-2400] - Allow java ark :url to be https
* [COOK-2436] - Upgrade needed for oracle jdk in java cookbook

## v1.9.6:

* [COOK-2412] - add support for Oracle Linux

## v1.9.4:

* [COOK-2083] - Run set-env-java-home in Java cookbook only if necessary
* [COOK-2332] - ark provider does not allow for *.tgz tarballs to be used
* [COOK-2345] - Java cookbook fails on CentOS6 (update-java-alternatives)

## v1.9.2:

* [COOK-2306] - FoodCritic fixes for java cookbook

## v1.9.0:

* [COOK-2236] - Update the Oracle Java version in the Java cookbook to
release 1.7u11

## v1.8.2:

* [COOK-2205] - Fix for missing /usr/lib/jvm/default-java on Debian

## v1.8.0:

* [COOK-2095] - Add windows support

## v1.7.0:

* [COOK-2001] - improvements for Oracle update-alternatives
- When installing an Oracle JDK it is now registered with a higher
priority than OpenJDK. (Related to COOK-1131.)
- When running both the oracle and oracle_i386 recipes, alternatives
are now created for both JDKs.
- Alternatives are now created for all binaries listed in version
specific attributes. (Related to COOK-1563 and COOK-1635.)
- When installing Oracke JDKs on Ubuntu, create .jinfo files for use
with update-java-alternatives. Commands to set/install
alternatives now only run if needed.

## v1.6.4:

* [COOK-1930] - fixed typo in attribute for java 5 on i586

## v1.6.2:

* whyrun support in `java_ark` LWRP
* CHEF-1804 compatibility
* [COOK-1786]- install Java 6u37 and Java 7u9
* [COOK-1819] -incorrect warning text about
`node['java']['oracle']['accept_oracle_download_terms']`

## v1.6.0:

* [COOK-1218] - Install Oracle JDK from Oracle download directly
* [COOK-1631] - set JAVA_HOME in openjdk recipe
* [COOK-1655] - Install correct architecture on Amazon Linux

## v1.5.4:

* [COOK-885] - update alternatives called on wrong file
* [COOK-1607] - use shellout instead of execute resource to update
alternatives

## v1.5.2:

* [COOK-1200] - remove sun-java6-jre on Ubuntu before installing
Oracle's Java
* [COOK-1260] - fails on Ubuntu 12.04 64bit with openjdk7
* [COOK-1265] - Oracle Java should symlink the jar command

## v1.5.0:

* [COOK-1146] - Oracle now prevents download of JDK via non-browser
* [COOK-1114] - fix File.exists?

## v1.4.2:

* [COOK-1051] - fix attributes typo and platform case switch
consistency

## v1.4.0:

* [COOK-858] - numerous updates: handle jdk6 and 7, switch from sun to
oracle, make openjdk default, add `java_ark` LWRP.
* [COOK-942] - FreeBSD support
* [COOK-520] - ArchLinux support
Loading

0 comments on commit 8e7106a

Please sign in to comment.