summaryrefslogtreecommitdiff
path: root/lib/chef/deprecated.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2021-04-26 14:31:31 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2021-04-26 14:31:31 -0700
commit6f0098fa930ee49ebc57b3d600c00bbb7586b436 (patch)
treea7cad448067dc58f4b140ed048171d78b872414a /lib/chef/deprecated.rb
parentb6820f343a9b1874e8e1f623493e99823bbd5723 (diff)
downloadchef-6f0098fa930ee49ebc57b3d600c00bbb7586b436.tar.gz
Add warning for resources not running in unified_modelcg/unified-mode-warn
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/deprecated.rb')
-rw-r--r--lib/chef/deprecated.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/chef/deprecated.rb b/lib/chef/deprecated.rb
index 992876c17d..c48566e7e4 100644
--- a/lib/chef/deprecated.rb
+++ b/lib/chef/deprecated.rb
@@ -249,6 +249,10 @@ class Chef
target 32
end
+ class UnifiedMode < Base
+ target 33
+ end
+
class Generic < Base
def url
"https://docs.chef.io/chef_deprecations_client/"