summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Kantrowitz <noah@coderanger.net>2018-06-14 19:46:58 -0700
committerNoah Kantrowitz <noah@coderanger.net>2018-06-14 19:46:58 -0700
commit4534a1a2ccb819e90c8c6a7a80da1d1005b26261 (patch)
tree91afd0ec26a74c995fcae0f195123331c05a3831
parent69848a846c75a2e6fcb0dfd87727256c8f1f5b14 (diff)
downloadchef-4534a1a2ccb819e90c8c6a7a80da1d1005b26261.tar.gz
Add an example for kitchen too.
Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
-rw-r--r--RELEASE_NOTES.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index c7597cf3d2..85181821c6 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -26,6 +26,19 @@ or `solo.rb`:
silence_deprecation_warnings %w{deploy_resource chef-23 recipes/install.rb:22}
```
+or in your `kitchen.yml`:
+
+```yaml
+provisioner:
+ name: chef_solo
+ solo_rb:
+ treat_deprecation_warnings_as_errors: true
+ silence_deprecation_warnings:
+ - deploy_resource
+ - chef-23
+ - recipes/install.rb:22
+```
+
You can also silence deprecations using a comment on the line that is raising
the warning: