summaryrefslogtreecommitdiff
path: root/DOC_CHANGES.md
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-05-28 11:17:10 -0700
committerJohn Keiser <john@johnkeiser.com>2015-06-01 08:02:05 -0700
commit5998cc7315507e649bb76f139c07715f6e590707 (patch)
treeda543eeb9183ba63cfea376c51207b31ed104f65 /DOC_CHANGES.md
parent16dbca593b2fef74d952c5e119313efbe2288670 (diff)
downloadchef-5998cc7315507e649bb76f139c07715f6e590707.tar.gz
Make resource_name call provides
Diffstat (limited to 'DOC_CHANGES.md')
-rw-r--r--DOC_CHANGES.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/DOC_CHANGES.md b/DOC_CHANGES.md
index b0a8e0aaaf..629ff147c2 100644
--- a/DOC_CHANGES.md
+++ b/DOC_CHANGES.md
@@ -6,15 +6,16 @@ Example Doc Change:
Description of the required change.
-->
-### Resources must now use `provides` to declare recipe DSL
+### Resources must now use `resource_name` (or `provides`) to declare recipe DSL
Resources declared in `Chef::Resource` namespace will no longer get recipe DSL
-automatically. Instead, explicit `provides` is required in order to have DSL:
+automatically. Instead, `resource_name` is required in order to have DSL:
```ruby
module MyModule
class MyResource < Chef::Resource
- provides :my_resource
+ resource_name :my_resource
+ provides :some_other_name, os: 'linux' # A second resource DSL, only on linux
end
end
```