summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-10-26 15:11:58 -0700
committerGitHub <noreply@github.com>2018-10-26 15:11:58 -0700
commita0742fc4d6a017cdbb721f2faa8e30cd4c74101a (patch)
tree27d8b75acdb90efa4af8b4187165fbf44e94d45f
parent5f5fa9ed1a309526accd4d4a5c01404a3dfe31de (diff)
parent38d5e3bebb5a55716b2ad5240742147bbbbd4bc2 (diff)
downloadchef-a0742fc4d6a017cdbb721f2faa8e30cd4c74101a.tar.gz
Merge pull request #7790 from chef/require_recipe
Remove legacy require_recipe DSL method
-rw-r--r--lib/chef/dsl/include_recipe.rb6
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