summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-06-08 15:05:07 -0700
committerJohn Keiser <john@johnkeiser.com>2015-06-23 14:42:28 -0700
commit59b12d0237c7879c18f96ef5e962a7cd592df142 (patch)
tree7235020aaf558755786fc5d5126c86dff8e70017
parent0d5a74146b3e6db4f040ed02f29e3578c29c02e0 (diff)
downloadchef-59b12d0237c7879c18f96ef5e962a7cd592df142.tar.gz
Rename Chef::DSL::Recipe::Everything -> FullDSL
-rw-r--r--lib/chef/dsl/recipe.rb2
-rw-r--r--lib/chef/provider.rb2
-rw-r--r--lib/chef/provider/lwrp_base.rb2
-rw-r--r--lib/chef/recipe.rb9
-rw-r--r--lib/chef/resource.rb2
5 files changed, 5 insertions, 12 deletions
diff --git a/lib/chef/dsl/recipe.rb b/lib/chef/dsl/recipe.rb
index b238f45d9c..d00d0df247 100644
--- a/lib/chef/dsl/recipe.rb
+++ b/lib/chef/dsl/recipe.rb
@@ -177,7 +177,7 @@ class Chef
end
end
- module Everything
+ module FullDSL
require 'chef/dsl/data_query'
require 'chef/dsl/platform_introspection'
require 'chef/dsl/include_recipe'
diff --git a/lib/chef/provider.rb b/lib/chef/provider.rb
index 1d106acccb..280277d947 100644
--- a/lib/chef/provider.rb
+++ b/lib/chef/provider.rb
@@ -295,7 +295,7 @@ class Chef
end
require 'chef/dsl/recipe'
- include Chef::DSL::Recipe::Everything
+ include Chef::DSL::Recipe::FullDSL
end
protected
diff --git a/lib/chef/provider/lwrp_base.rb b/lib/chef/provider/lwrp_base.rb
index 27b2042f2b..a96c382a01 100644
--- a/lib/chef/provider/lwrp_base.rb
+++ b/lib/chef/provider/lwrp_base.rb
@@ -31,7 +31,7 @@ class Chef
include Chef::DSL::Recipe
# These were previously provided by Chef::Mixin::RecipeDefinitionDSLCore.
- # They are not included by its replacment, Chef::DSL::Recipe, but
+ # They are not included by its replacement, Chef::DSL::Recipe, but
# they may be used in existing LWRPs.
include Chef::DSL::PlatformIntrospection
include Chef::DSL::DataQuery
diff --git a/lib/chef/recipe.rb b/lib/chef/recipe.rb
index b4d37c2d61..262560f754 100644
--- a/lib/chef/recipe.rb
+++ b/lib/chef/recipe.rb
@@ -36,14 +36,7 @@ class Chef
# A Recipe object is the context in which Chef recipes are evaluated.
class Recipe
- include Chef::DSL::DataQuery
- include Chef::DSL::PlatformIntrospection
- include Chef::DSL::IncludeRecipe
- include Chef::DSL::Recipe
- include Chef::DSL::RegistryHelper
- include Chef::DSL::RebootPending
- include Chef::DSL::Audit
- include Chef::DSL::Powershell
+ include Chef::DSL::Recipe::FullDSL
include Chef::Mixin::FromFile
include Chef::Mixin::Deprecation
diff --git a/lib/chef/resource.rb b/lib/chef/resource.rb
index 1a57b343a7..4865643d33 100644
--- a/lib/chef/resource.rb
+++ b/lib/chef/resource.rb
@@ -1183,7 +1183,7 @@ class Chef
class << self
# back-compat
- # NOTE: that we do not support unregistering classes as descendents like
+ # NOTE: that we do not support unregistering classes as descendants like
# we used to for LWRP unloading because that was horrible and removed in
# Chef-12.
# @deprecated