Run set-env-java-home only if necessary
[COOK-3763] Prevent "openjdk" recipe failing on CentOS 6.

The error is caused by an incorrect glob in the "update-java-alternatives" block.

Since the code in the block is too complex to attempt to fix the root cause,
the provided patch only ensures the code does not fail unnecessarily.

The ticket is at: http://tickets.opscode.com/browse/CHEF-3763

Closes #31
FC017: lwrp uses converge_by

The converge_by method for why-run support handles the
updated_by_last_action for the provider, so FC017 is a false positive
release v1.8.2
Update Java 6 to u37->u38 and Java 7 u9 -> u11
Merge pull request #34 from tas50/COOK-2236

COOK-2236: Update Java 6 to u37->u38 and Java 7 u9 -> u11
release v1.9.0
update test-kitchen dep
COOK-2306 Fix foodcritic warnings:

FC002: Avoid string interpolation where not required: ./providers/ark.rb:172
FC017: LWRP does not notify when updated: ./providers/ark.rb:1
Merge pull request #35 from juliandunn/COOK-2306

COOK-2306 Fix foodcritic warnings
Update providers/ark.rb

Make ark provider work with *tgz tarballs.
Update resources/ark.rb

Allow tgz as an extension for the download url in the ark provider.
release v1.9.2
better constrain non 1.0 test-kitchen dep
Merge pull request #36 from better-cooking/master

ark provider accepts tgz tarballs
Merge pull request #27 from brugidou/COOK-2083

Run set-env-java-home only if necessary
Merge pull request #31 from karmi/openjdk-update-alternatives-fix

[COOK-3763] Prevent "openjdk" recipe failing on CentOS 6.
release v1.9.4
Added oracle to list of supported platforms
Merge pull request #38 from RallySoftware/support-oracle

Added oracle to list of supported platforms