Cookbook Releases 5/14/13

Ohai Chefs,

We have more cookbook releases for you, and more to come this week. The
java cookbook now has a bunch of ChefSpec/RSpec tests. We’re working to
get more of our cookbooks tested, and as the tools we’re using are still
being developed, so are “best practices” for testing. Expect a blog post
soon that will describe some of the ideas we’re exploring, and what seems
to be working well.

aws v0.101.0

Bug

  • [COOK-1355]: AWS::ElasticIP recipe uses an old RightAWS API to
    associate an elastic ip address to an EC2 instance
  • [COOK-2659]: volume_compatible_with_resource_definition fails on
    valid snapshot_id configurations
  • [COOK-2670]: AWS cookbook doesn’t use node[:aws][:databag_name],
    etc. in create_raid_disks
  • [COOK-2693]: exclude AWS reserved tags from tag update
  • [COOK-2914]: Foodcritic failures in Cookbooks

Improvement

  • [COOK-2587]: Resource attribute for using most recent snapshot
    instead of earliest
  • [COOK-2605]: “WARN: Missing gem ‘right_aws’” always prints when
    including ‘aws’ in metadata

New Feature

  • [COOK-2503]: add EBS raid volumes and provisioned IOPS support for
    AWS

java 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

Ohai again so soon!

I just released a new version of the java cookbook. I'm not sure how this
passed the tests before, because rspec totally failed just now until I
corrected the checksums.

Sorry about that!

java v1.11.2:

Bug

  • Use SHA256 checksums for Oracle downloads, not SHA1.

-joshua

On 5/14/13 3:44 PM, "Joshua Timberman" joshua@opscode.com wrote:

Ohai Chefs,

We have more cookbook releases for you, and more to come this week. The
java cookbook now has a bunch of ChefSpec/RSpec tests. We're working to
get more of our cookbooks tested, and as the tools we're using are still
being developed, so are "best practices" for testing. Expect a blog post
soon that will describe some of the ideas we're exploring, and what seems
to be working well.

aws v0.101.0

Bug

  • [COOK-1355]: AWS::ElasticIP recipe uses an old RightAWS API to
    associate an elastic ip address to an EC2 instance
  • [COOK-2659]: volume_compatible_with_resource_definition fails on
    valid snapshot_id configurations
  • [COOK-2670]: AWS cookbook doesn't use node[:aws][:databag_name],
    etc. in create_raid_disks
  • [COOK-2693]: exclude AWS reserved tags from tag update
  • [COOK-2914]: Foodcritic failures in Cookbooks

Improvement

  • [COOK-2587]: Resource attribute for using most recent snapshot
    instead of earliest
  • [COOK-2605]: "WARN: Missing gem 'right_aws'" always prints when
    including 'aws' in metadata

New Feature

  • [COOK-2503]: add EBS raid volumes and provisioned IOPS support for
    AWS

java 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

Ohai, yet again!

I'm sorry, I pushed out a pretty bad bug in java::openjdk in the 1.11.0 and 1.11.2 releases of the java cookbook. This is now corrected in 1.11.4 (just released).

Iiro Uusitalo reported the bug along with a pull request. I used the code, though I reformatted it mainly for whitespace in test I added. Thanks, Iiro!!

java v1.11.4:

Bug

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

The complete commit for this change is here:

The specs are all passing, and test-kitchen converges correctly across the platforms supported in the .kitchen.yml/


From: Joshua Timberman
Sent: Tuesday, May 14, 2013 17:15
To: chef@lists.opscode.com
Subject: [chef] Re: Cookbook Releases 5/14/13

Ohai again so soon!

I just released a new version of the java cookbook. I'm not sure how this
passed the tests before, because rspec totally failed just now until I
corrected the checksums.

Sorry about that!

java v1.11.2:

Bug

  • Use SHA256 checksums for Oracle downloads, not SHA1.

-joshua

On 5/14/13 3:44 PM, "Joshua Timberman" joshua@opscode.com wrote:

Ohai Chefs,

We have more cookbook releases for you, and more to come this week. The
java cookbook now has a bunch of ChefSpec/RSpec tests. We're working to
get more of our cookbooks tested, and as the tools we're using are still
being developed, so are "best practices" for testing. Expect a blog post
soon that will describe some of the ideas we're exploring, and what seems
to be working well.

aws v0.101.0

Bug

  • [COOK-1355]: AWS::ElasticIP recipe uses an old RightAWS API to
    associate an elastic ip address to an EC2 instance
  • [COOK-2659]: volume_compatible_with_resource_definition fails on
    valid snapshot_id configurations
  • [COOK-2670]: AWS cookbook doesn't use node[:aws][:databag_name],
    etc. in create_raid_disks
  • [COOK-2693]: exclude AWS reserved tags from tag update
  • [COOK-2914]: Foodcritic failures in Cookbooks

Improvement

  • [COOK-2587]: Resource attribute for using most recent snapshot
    instead of earliest
  • [COOK-2605]: "WARN: Missing gem 'right_aws'" always prints when
    including 'aws' in metadata

New Feature

  • [COOK-2503]: add EBS raid volumes and provisioned IOPS support for
    AWS

java 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

Is there some lag in getting the latest versions via the API? Berkshelf is
still surfacing java 1.11.2

-Mat

On Wed, May 15, 2013 at 2:22 PM, Joshua Timberman joshua@opscode.comwrote:

Ohai, yet again!

I'm sorry, I pushed out a pretty bad bug in java::openjdk in the 1.11.0
and 1.11.2 releases of the java cookbook. This is now corrected in 1.11.4
(just released).

Iiro Uusitalo reported the bug along with a pull request. I used the code,
though I reformatted it mainly for whitespace in test I added. Thanks,
Iiro!!

java v1.11.4:

Bug

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

The complete commit for this change is here:

[COOK-2989] - bash resource uses wrong attribute · sous-chefs/java@037323a · GitHub

The specs are all passing, and test-kitchen converges correctly across the
platforms supported in the .kitchen.yml/


From: Joshua Timberman
Sent: Tuesday, May 14, 2013 17:15
To: chef@lists.opscode.com
Subject: [chef] Re: Cookbook Releases 5/14/13

Ohai again so soon!

I just released a new version of the java cookbook. I'm not sure how this
passed the tests before, because rspec totally failed just now until I
corrected the checksums.

Sorry about that!

java v1.11.2:

Bug

  • Use SHA256 checksums for Oracle downloads, not SHA1.

-joshua

On 5/14/13 3:44 PM, "Joshua Timberman" joshua@opscode.com wrote:

Ohai Chefs,

We have more cookbook releases for you, and more to come this week. The
java cookbook now has a bunch of ChefSpec/RSpec tests. We're working to
get more of our cookbooks tested, and as the tools we're using are still
being developed, so are "best practices" for testing. Expect a blog post
soon that will describe some of the ideas we're exploring, and what seems
to be working well.

aws v0.101.0

Bug

  • [COOK-1355]: AWS::ElasticIP recipe uses an old RightAWS API to
    associate an elastic ip address to an EC2 instance
  • [COOK-2659]: volume_compatible_with_resource_definition fails on
    valid snapshot_id configurations
  • [COOK-2670]: AWS cookbook doesn't use node[:aws][:databag_name],
    etc. in create_raid_disks
  • [COOK-2693]: exclude AWS reserved tags from tag update
  • [COOK-2914]: Foodcritic failures in Cookbooks

Improvement

  • [COOK-2587]: Resource attribute for using most recent snapshot
    instead of earliest
  • [COOK-2605]: "WARN: Missing gem 'right_aws'" always prints when
    including 'aws' in metadata

New Feature

  • [COOK-2503]: add EBS raid volumes and provisioned IOPS support for
    AWS

java 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

Mat:

What does berks outdated tell you?

If you have the cookbook in your local shelf, and there's no version
constraint higher than 1.11.2, then you might not get a newer one.

-M

On Wed, May 15, 2013 at 6:21 PM, Mat Schaffer mat@schaffer.me wrote:

Is there some lag in getting the latest versions via the API? Berkshelf is
still surfacing java 1.11.2

-Mat

Mat Schaffer - Gifu Japan | about.me

On Wed, May 15, 2013 at 2:22 PM, Joshua Timberman joshua@opscode.com
wrote:

Ohai, yet again!

I'm sorry, I pushed out a pretty bad bug in java::openjdk in the 1.11.0
and 1.11.2 releases of the java cookbook. This is now corrected in 1.11.4
(just released).

Iiro Uusitalo reported the bug along with a pull request. I used the code,
though I reformatted it mainly for whitespace in test I added. Thanks,
Iiro!!

java v1.11.4:

Bug

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

The complete commit for this change is here:

[COOK-2989] - bash resource uses wrong attribute · sous-chefs/java@037323a · GitHub

The specs are all passing, and test-kitchen converges correctly across the
platforms supported in the .kitchen.yml/


From: Joshua Timberman
Sent: Tuesday, May 14, 2013 17:15
To: chef@lists.opscode.com
Subject: [chef] Re: Cookbook Releases 5/14/13

Ohai again so soon!

I just released a new version of the java cookbook. I'm not sure how this
passed the tests before, because rspec totally failed just now until I
corrected the checksums.

Sorry about that!

java v1.11.2:

Bug

  • Use SHA256 checksums for Oracle downloads, not SHA1.

-joshua

On 5/14/13 3:44 PM, "Joshua Timberman" joshua@opscode.com wrote:

Ohai Chefs,

We have more cookbook releases for you, and more to come this week. The
java cookbook now has a bunch of ChefSpec/RSpec tests. We're working to
get more of our cookbooks tested, and as the tools we're using are still
being developed, so are "best practices" for testing. Expect a blog post
soon that will describe some of the ideas we're exploring, and what seems
to be working well.

aws v0.101.0

Bug

  • [COOK-1355]: AWS::ElasticIP recipe uses an old RightAWS API to
    associate an elastic ip address to an EC2 instance
  • [COOK-2659]: volume_compatible_with_resource_definition fails on
    valid snapshot_id configurations
  • [COOK-2670]: AWS cookbook doesn't use node[:aws][:databag_name],
    etc. in create_raid_disks
  • [COOK-2693]: exclude AWS reserved tags from tag update
  • [COOK-2914]: Foodcritic failures in Cookbooks

Improvement

  • [COOK-2587]: Resource attribute for using most recent snapshot
    instead of earliest
  • [COOK-2605]: "WARN: Missing gem 'right_aws'" always prints when
    including 'aws' in metadata

New Feature

  • [COOK-2503]: add EBS raid volumes and provisioned IOPS support for
    AWS

java 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

Just says "All cookbooks up to date"

This is in a cookbook repo that depends on java in metadata w/o a specified
version. Removing ~/.berkshelf caused it to get the updated version.

Somewhat surprising that 'berks outdated' and 'berks update' don't pick up
the latest version.

-Mat

On Wed, May 15, 2013 at 3:26 PM, Mike miketheman@gmail.com wrote:

Mat:

What does berks outdated tell you?

If you have the cookbook in your local shelf, and there's no version
constraint higher than 1.11.2, then you might not get a newer one.

-M

On Wed, May 15, 2013 at 6:21 PM, Mat Schaffer mat@schaffer.me wrote:

Is there some lag in getting the latest versions via the API? Berkshelf
is
still surfacing java 1.11.2

-Mat

Mat Schaffer - Gifu Japan | about.me

On Wed, May 15, 2013 at 2:22 PM, Joshua Timberman joshua@opscode.com
wrote:

Ohai, yet again!

I'm sorry, I pushed out a pretty bad bug in java::openjdk in the
1.11.0
and 1.11.2 releases of the java cookbook. This is now corrected in
1.11.4
(just released).

Iiro Uusitalo reported the bug along with a pull request. I used the
code,
though I reformatted it mainly for whitespace in test I added. Thanks,
Iiro!!

java v1.11.4:

Bug

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

The complete commit for this change is here:

[COOK-2989] - bash resource uses wrong attribute · sous-chefs/java@037323a · GitHub

The specs are all passing, and test-kitchen converges correctly across
the
platforms supported in the .kitchen.yml/


From: Joshua Timberman
Sent: Tuesday, May 14, 2013 17:15
To: chef@lists.opscode.com
Subject: [chef] Re: Cookbook Releases 5/14/13

Ohai again so soon!

I just released a new version of the java cookbook. I'm not sure how
this
passed the tests before, because rspec totally failed just now until I
corrected the checksums.

Sorry about that!

java v1.11.2:

Bug

  • Use SHA256 checksums for Oracle downloads, not SHA1.

-joshua

On 5/14/13 3:44 PM, "Joshua Timberman" joshua@opscode.com wrote:

Ohai Chefs,

We have more cookbook releases for you, and more to come this week. The
java cookbook now has a bunch of ChefSpec/RSpec tests. We're working
to
get more of our cookbooks tested, and as the tools we're using are
still
being developed, so are "best practices" for testing. Expect a blog
post
soon that will describe some of the ideas we're exploring, and what
seems
to be working well.

aws v0.101.0

Bug

  • [COOK-1355]: AWS::ElasticIP recipe uses an old RightAWS API to
    associate an elastic ip address to an EC2 instance
  • [COOK-2659]: volume_compatible_with_resource_definition fails on
    valid snapshot_id configurations
  • [COOK-2670]: AWS cookbook doesn't use node[:aws][:databag_name],
    etc. in create_raid_disks
  • [COOK-2693]: exclude AWS reserved tags from tag update
  • [COOK-2914]: Foodcritic failures in Cookbooks

Improvement

  • [COOK-2587]: Resource attribute for using most recent snapshot
    instead of earliest
  • [COOK-2605]: "WARN: Missing gem 'right_aws'" always prints when
    including 'aws' in metadata

New Feature

  • [COOK-2503]: add EBS raid volumes and provisioned IOPS support for
    AWS

java 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