summaryrefslogtreecommitdiff
path: root/lib/chef/deprecated.rb
diff options
context:
space:
mode:
authorNoah Kantrowitz <noah@coderanger.net>2017-05-25 12:57:38 -0500
committerNoah Kantrowitz <noah@coderanger.net>2017-05-25 12:57:38 -0500
commit17e8730c689d93274505e4587cc7c889d7667b1d (patch)
tree6b9c3d5e21e5e6ffd46838f2bc8ee985a8f7d646 /lib/chef/deprecated.rb
parentd63974c1abb21933e1da00d29496fb0c0e914654 (diff)
downloadchef-17e8730c689d93274505e4587cc7c889d7667b1d.tar.gz
Display a deprecation warning when using --listen mode.
Deprecation doc added in https://github.com/chef/chef-web-docs/pull/687. Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
Diffstat (limited to 'lib/chef/deprecated.rb')
-rw-r--r--lib/chef/deprecated.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/chef/deprecated.rb b/lib/chef/deprecated.rb
index 04ecfe5a6e..372609c10a 100644
--- a/lib/chef/deprecated.rb
+++ b/lib/chef/deprecated.rb
@@ -238,6 +238,16 @@ class Chef
end
end
+ class LocalListen < Base
+ def id
+ 18
+ end
+
+ def target
+ "local_listen.html"
+ end
+ end
+
# id 3694 was deleted
class Generic < Base