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
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
release v1.9.6
Allow hosting of the ark on https
Merge pull request #7 from yoniYalovitsky/master

Allow hosting of the ark on https
Upgrade from 6u38 to 6u43 and 7u11 to 7u17
Merge pull request #44 from eklein/jdk_6u43_7u17_upgrade

Upgrade from 6u38 to 6u43 and 7u11 to 7u17
release v1.10.0