summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-04-28 07:55:26 -0700
committerGitHub <noreply@github.com>2020-04-28 07:55:26 -0700
commit9977de6ebbbbb7b47497dbd0cf75979e1b974d3f (patch)
treea884a5a941fcbaf74105f4a6f73dc562199176c1
parent4863608606e438703e40d9c77e97fce7731be885 (diff)
downloadchef-9977de6ebbbbb7b47497dbd0cf75979e1b974d3f.tar.gz
Update RELEASE_NOTES.md
Signed-off-by: Tim Smith <tsmith@chef.io> Co-Authored-By: mjingle <mjinglewski@chef.io>
-rw-r--r--RELEASE_NOTES.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index 0051cabc0a..1a631c29a5 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -333,7 +333,7 @@ end
### Resource Partials
-Resource partials allow you to define reusable portions of code that can be included in multiple custom resources. This feature is particularly useful when there are common properties, such as authentication properties, that you want to define in a single location, but use for multiple resources. Internally in the Chef Infra Client codebase we've already used this feature to remove duplicate properties from our `subversion` and `git` resources in order to make them easier to maintain.
+Resource partials allow you to define reusable portions of code that can be included in multiple custom resources. This feature is particularly useful when there are common properties, such as authentication properties, that you want to define in a single location, but use for multiple resources. Internally in the Chef Infra Client codebase, we have already used this feature to remove duplicate properties from our `subversion` and `git` resources and make them easier to maintain.
Resource partials are stored in a cookbook's `/resources` directory just like existing custom resources, but they start with the `_` prefix. They're then called using a new `use` helper within the resource where they're needed: