Congrats! This is a great improvement to the chef-client cookbook.
Attribute-named style config is definitely one of the best way.
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 meeting[0] also walked through several of the changes.
An additional ticket was created for ohai config being moved to a `client.d` file (COOK-3150[1]) .
[0]: http://www.youtube.com/watch?v=YIW7ClDK4Ps
[1]: https://tickets.opscode.com/browse/COOK-3150
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
Archive powered by MHonArc 2.6.16.