Chef-client v3.0.0

Ohai Chefs!

The chef-client cookbook has been released, version 3.0.0. This is a major version bump because there are some backwards-incompatible changes WRT default attributes. The README is updated to describe the attributes that are deprecated and replaced, and how to use the new attributes under node['chef_client']['config'].

The other significant change is that the “service” recipe is broken up into several sub-recipes. You can still use the init_style attribute to select the service type you use to manage Chef, or you can include that recipe directly.

The full changelog is below. The main ticket tracking this udpate is COOK-2855, most of these are subtasks of that one. Yesterday’s COOK code review meeting0 also walked through several of the changes.

An additional ticket was created for ohai config being moved to a client.d file (COOK-31501) .

Cheers,
Joshua

v3.0.0:

Sub-task

  • [COOK-1002]: chef-client service is not started for init_style =
    init
  • [COOK-1191]: chef-client cookbook doesn’t log to
    /var/log/chef/client.log when using init_style runit
  • [COOK-2319]: The service recipe has too many lines of code
  • [COOK-2344]: chef-client config should preserve log settings
  • [COOK-2651]: The cron task fails to disable and stop service if the
    init_style is set to upstart
  • [COOK-2709]: chef-client needs explicit dependancy on cron >= 1.2.0
  • [COOK-2856]: Use attribute/data driven configuration for
    /etc/chef/client.rb
  • [COOK-2857]: Update chef-client to use runit v1.0+
  • [COOK-2858]: support “inclusion” of other Chef Config files in
    client.rb
  • [COOK-3110]: kitchen.yml missing chef-client::config in cook-2317
    runlist
  • [COOK-3112]: chef_client test cook-1951 fails as provided

Bug

  • [COOK-2607]: detect if node is a chef-server and set user/group file
    ownership correctly
  • [COOK-3104]: kitchen.yml file for chef-client doesn’t properly set
    environment_variables

Improvement

  • [COOK-2637]: Silence expected errors from which based chef-server
    checks
  • [COOK-2825]: SMF for chef-client should use :kill to stop service

Congrats! This is a great improvement to the chef-client cookbook.

Attribute-named style config is definitely one of the best way.
On Jun 11, 2013 11:56 PM, "Joshua Timberman" joshua@opscode.com wrote:

Ohai Chefs!

The chef-client cookbook has been released, version 3.0.0. This is a major
version bump because there are some backwards-incompatible changes WRT
default attributes. The README is updated to describe the attributes that
are deprecated and replaced, and how to use the new attributes under
node['chef_client']['config'].

The other significant change is that the "service" recipe is broken up
into several sub-recipes. You can still use the init_style attribute to
select the service type you use to manage Chef, or you can include that
recipe directly.

The full changelog is below. The main ticket tracking this udpate is
COOK-2855, most of these are subtasks of that one. Yesterday's COOK code
review meeting0 also walked through several of the changes.

An additional ticket was created for ohai config being moved to a
client.d file (COOK-31501) .

Cheers,
Joshua

v3.0.0:

Sub-task

  • [COOK-1002]: chef-client service is not started for init_style =
    init
  • [COOK-1191]: chef-client cookbook doesn't log to
    /var/log/chef/client.log when using init_style runit
  • [COOK-2319]: The service recipe has too many lines of code
  • [COOK-2344]: chef-client config should preserve log settings
  • [COOK-2651]: The cron task fails to disable and stop service if the
    init_style is set to upstart
  • [COOK-2709]: chef-client needs explicit dependancy on cron >= 1.2.0
  • [COOK-2856]: Use attribute/data driven configuration for
    /etc/chef/client.rb
  • [COOK-2857]: Update chef-client to use runit v1.0+
  • [COOK-2858]: support "inclusion" of other Chef Config files in
    client.rb
  • [COOK-3110]: kitchen.yml missing chef-client::config in cook-2317
    runlist
  • [COOK-3112]: chef_client test cook-1951 fails as provided

Bug

  • [COOK-2607]: detect if node is a chef-server and set user/group file
    ownership correctly
  • [COOK-3104]: kitchen.yml file for chef-client doesn't properly set
    environment_variables

Improvement

  • [COOK-2637]: Silence expected errors from which based chef-server
    checks
  • [COOK-2825]: SMF for chef-client should use :kill to stop service

Ohai Chefs,

Julian Dunn found a couple issues related to Windows support for the
chef-client cookbook version 3.0.0, COOK-3157, COOK-3159. These are
released in 3.0.4. A release for COOK-3157 actually went out as 3.0.2.

Cheers,
Joshua

v3.0.4:

Bug

  • [COOK-3159]: don't skip directory creation on Windows

formerly (like, an hour before maybe?) v3.0.2:

Bug

  • [COOK-3157]: correct root group detection for Windows

On 6/11/13 3:56 PM, "Joshua Timberman" joshua@opscode.com wrote:

Ohai Chefs!

The chef-client cookbook has been released, version 3.0.0. This is a
major version bump because there are some backwards-incompatible changes
WRT default attributes. The README is updated to describe the attributes
that are deprecated and replaced, and how to use the new attributes under
node['chef_client']['config'].

The other significant change is that the "service" recipe is broken up
into several sub-recipes. You can still use the init_style attribute to
select the service type you use to manage Chef, or you can include that
recipe directly.

The full changelog is below. The main ticket tracking this udpate is
COOK-2855, most of these are subtasks of that one. Yesterday's COOK code
review meeting0 also walked through several of the changes.

An additional ticket was created for ohai config being moved to a
client.d file (COOK-31501) .

Cheers,
Joshua

v3.0.0:

Sub-task

  • [COOK-1002]: chef-client service is not started for init_style =
    init
  • [COOK-1191]: chef-client cookbook doesn't log to
    /var/log/chef/client.log when using init_style runit
  • [COOK-2319]: The service recipe has too many lines of code
  • [COOK-2344]: chef-client config should preserve log settings
  • [COOK-2651]: The cron task fails to disable and stop service if the
    init_style is set to upstart
  • [COOK-2709]: chef-client needs explicit dependancy on cron >= 1.2.0
  • [COOK-2856]: Use attribute/data driven configuration for
    /etc/chef/client.rb
  • [COOK-2857]: Update chef-client to use runit v1.0+
  • [COOK-2858]: support "inclusion" of other Chef Config files in
    client.rb
  • [COOK-3110]: kitchen.yml missing chef-client::config in cook-2317
    runlist
  • [COOK-3112]: chef_client test cook-1951 fails as provided

Bug

  • [COOK-2607]: detect if node is a chef-server and set user/group file
    ownership correctly
  • [COOK-3104]: kitchen.yml file for chef-client doesn't properly set
    environment_variables

Improvement

  • [COOK-2637]: Silence expected errors from which based chef-server
    checks
  • [COOK-2825]: SMF for chef-client should use :kill to stop service