Skip to content

Instantly share code, notes, and snippets.

@sersut
Last active December 29, 2015 08:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sersut/ee8a1b86c8d5e8f3194b to your computer and use it in GitHub Desktop.
Save sersut/ee8a1b86c8d5e8f3194b to your computer and use it in GitHub Desktop.
Release notes for Chef 11.8.2 & 10.30.0, mixlib-shellout 1.3.0

Release Notes for Chef & mixlib-shellout

Chef Client 10.30.0

In addition to some bug fixes listed here 10.30.0 release includes:

  • Includes recently released ruby 1.9.3-p484 fixing a security issue.
  • Fixes to the attribute calculation logic:

10.30.0 makes sure that to_hash method is calculating the attributes correctly.

WARNING: 10.30.0 changes the attribute calculation behavior for array values. Prior to 10.30.0 Chef was merging array values of attributes between different precedence levels. In 10.30.0, Chef makes sure that the values from higher precendence levels override the values from lower precendence values.

Eg:

If node had a default value of ["foo", "bar"] and an override value of ["zoo", "bar"] for an attribute;

Prior to Chef 10.30.0 the calculated value would be ["bar", "foo", "zoo"]

With Chef 10.30.0 the calculated value will be ["zoo", "bar"]

NOTE: You can restore the old behavior setting Chef::Config[:deep_merge_array_concat] = false in your client.rb.

  • New property on group resource called :excluded_members.

When set to an array, :excluded_members makes sure that the group does NOT include any of the specified members in the array. It only works when append is set as well.

  • File resource now will not checksum the contents when :source or :content is not present on the resource. This helps in the case when managing the permissions on a large file.
  • Chef Client can now handle bare IPv6 addresses.
  • Chef now includes a new resource called whyrun_safe_ruby_block which is same with ruby_block but executes the configured block in the why-run mode as well.
  • Includes mixlib-shellout 1.3.0

Chef Client 11.8.2

  • Includes recently released ruby 1.9.3-p484 fixing a security issue.

mixlib-shellout 1.3.0

  • If a command launched by mixlib-shellout doesn't complete in the given timeout window, mixlib-shellout 1.3.0 terminates the process after the specified timeout.

This helps if Chef is running as a service or daemon and executing some endemically long commands which are OK to timeout e.g. certain yum commands.

@smith
Copy link

smith commented Nov 25, 2013

Chef Client 11.2.0

I think you mean 11.8.2.

@sersut
Copy link
Author

sersut commented Dec 3, 2013

Nice catch Nathan... Gracias :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment