summaryrefslogtreecommitdiff
path: root/DOC_CHANGES.md
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-06-01 13:12:30 -0700
committerJohn Keiser <john@johnkeiser.com>2015-06-01 13:21:22 -0700
commitac9c7c7f4bb7752c14f06224cdd1157d494dc02f (patch)
tree0a7814b54bbc91330e27e454566bdadda0a2d552 /DOC_CHANGES.md
parent236570dc9605ac312b44508b1c3a6a0e7c19b4dc (diff)
downloadchef-ac9c7c7f4bb7752c14f06224cdd1157d494dc02f.tar.gz
Clarify that change is all about resource_name
Diffstat (limited to 'DOC_CHANGES.md')
-rw-r--r--DOC_CHANGES.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/DOC_CHANGES.md b/DOC_CHANGES.md
index b5eb124f26..feea3414e8 100644
--- a/DOC_CHANGES.md
+++ b/DOC_CHANGES.md
@@ -6,7 +6,7 @@ Example Doc Change:
Description of the required change.
-->
-### Resources must now use `resource_name` (or `provides`) to declare recipe DSL
+### Resources must now use `resource_name` to declare recipe DSL
Resources declared in `Chef::Resource` namespace will no longer get recipe DSL
automatically. Instead, `resource_name` is required in order to have DSL:
@@ -21,7 +21,7 @@ end
`resource_name :my_resource` may be used to explicitly set the resource name.
-`provides :my_resource`, still works, but at least one resource_name *must* be
+`provides :my_resource` still works, but at least one resource_name *must* be
set for the resource to work.
Authors of HWRPs need to be aware that in the future all resources and providers will be required to include a provides line. Starting with Chef 12.4.0 any HWRPs in the `Chef::Resource` or `Chef::Provider` namespaces that do not have provides lines will trigger deprecation warning messages when called. The LWRPBase code does `provides` automatically so LWRP authors and users who write classes that inherit from LWRPBase do not need to explicitly include provides lines.