diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-11-08 11:40:16 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-11-08 11:40:16 -0800 |
commit | 2534c05eb2403f2ea9c744cf8eade96b8adeff32 (patch) | |
tree | 5f61ec214ac52b66e2d52b8dbe33087142ce845d | |
parent | 1ca270e777954936ce7073b3d58f076e248bb430 (diff) | |
download | chef-2534c05eb2403f2ea9c744cf8eade96b8adeff32.tar.gz |
add md files for chef-12 attr syntax
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | RELEASE_NOTES.md | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index e937b716d0..855ad7eeed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -146,6 +146,7 @@ ### Chef Contributions +* Added RFC-023 Chef 12 Attribute Changes (https://github.com/opscode/chef-rfc/blob/master/rfc023-chef-12-attributes-changes.md) * Added os/platform_family options to provides syntax on the Chef::Resource DSL * Added provides methods to the Chef::Provider DSL * Added supported?(resource, action) class method to all Providers for late-evaluation if a provider can handle a diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 3541460625..924f189543 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -21,6 +21,14 @@ block to the `on_create` method; it is now configured by calling either # End-User Changes +## Chef 12 Attribute Changes + +The Chef 12 Attribute RFC 23 (https://github.com/opscode/chef-rfc/blob/master/rfc023-chef-12-attributes-changes.md) has been merged into +Chef. This adds the ability to remove precedence levels (or all levels) of attributes in recipes code, or to +force setting an attribute precedence level. The major backwards incompatible change to call out in this RFC is that +`node.force_default!` and `node.force_override!` have changed from accessors to setters, and any cookbook code that used these functions +(extremely uncommon) simply needs to drop the exclamation point off of the method in order to use the accessor. + ## Knife Prefers `config.rb` to `knife.rb`. Knife will now look for `config.rb` in preference to `knife.rb` for its |