diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-03-21 15:05:32 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-03-21 15:05:32 -0700 |
commit | 83f692967c50cbca1bb25f89d11923de8c4058be (patch) | |
tree | a6ae154894f69dc2edde02e3f17c3792fa510a80 /RELEASE_NOTES.md | |
parent | e7d19586827c4f0829519ebd37c0cf71c277439e (diff) | |
download | chef-83f692967c50cbca1bb25f89d11923de8c4058be.tar.gz |
release notes text tweaks [ci skip]lcg/use-inline-resources-core
Diffstat (limited to 'RELEASE_NOTES.md')
-rw-r--r-- | RELEASE_NOTES.md | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 168edc3822..c6e3c40db2 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -14,8 +14,8 @@ class MyProvider < Chef::Provider::LWRPBase end ``` -Start in 12.5 the `use_inline_resources` directive was mixed into Chef::Provider directly and had the -side effect of mixin in the DSL. After 12.5 it would have worked to write code like this: +Starting in 12.5 the `use_inline_resources` directive was mixed into Chef::Provider directly and had the +side effect of mixing in the DSL. After 12.5 it would have worked to write code like this: ```ruby class MyProvider < Chef::Provider @@ -28,9 +28,8 @@ end ``` But that code would be broken (with a hard syntax error on `use_inline_resources` on prior versions of -chef-client). After 12.9 that code will now be broken on the use of the Recipe DSL which has been removed -from Chef::Provider when mixing use_inline_resources into classes that only inherit from the core +chef-client). After 12.9 that code will now be broken again on the use of the Recipe DSL which has been removed +from Chef::Provider when mixing `use_inline_resources` into classes that only inherit from the core class. If any code has been written like this, it should be modified to correctly inherit from Chef::Provider::LWRPBase instead (which will have the side effect of fixing it so that it correctly works on Chef 11.0-12.5 as well). - |