diff options
author | Tim Smith <tsmith@chef.io> | 2018-10-26 14:53:01 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-10-26 14:53:01 -0700 |
commit | 38d5e3bebb5a55716b2ad5240742147bbbbd4bc2 (patch) | |
tree | 22c6d6a83a3e006b94ec2605e836b53b628846ec /lib | |
parent | 7dcad86a17cf29e7899b0b4eb48413cdedb12a5e (diff) | |
download | chef-38d5e3bebb5a55716b2ad5240742147bbbbd4bc2.tar.gz |
Remove legacy require_recipe DSL method
We've been warning on this one for YEARS and we have a Foodcritic rule
for it as well, which has been around since before I was at Chef.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/dsl/include_recipe.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/chef/dsl/include_recipe.rb b/lib/chef/dsl/include_recipe.rb index d217c91d4b..31b031080a 100644 --- a/lib/chef/dsl/include_recipe.rb +++ b/lib/chef/dsl/include_recipe.rb @@ -29,12 +29,6 @@ class Chef def load_recipe(recipe_name) run_context.load_recipe(recipe_name, current_cookbook: cookbook_name) end - - def require_recipe(*args) - Chef::Log.warn("require_recipe is deprecated and will be removed in a future release, please use include_recipe") - include_recipe(*args) - end - end end end |