summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-05-17 10:31:51 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2016-05-17 10:31:51 -0700
commitb1fa206eafadbddb638b3004e0c1c9668c9decb1 (patch)
treeccc275f5da016e73c598197bb314ec9d22eb92de
parentec712ea75bbfe1a829c0148b45cfd130aa22f715 (diff)
downloadchef-b1fa206eafadbddb638b3004e0c1c9668c9decb1.tar.gz
update for feedback from steven
-rw-r--r--lib/chef/dsl/core.rb1
-rw-r--r--lib/chef/dsl/recipe.rb1
-rw-r--r--lib/chef/dsl/universal.rb1
3 files changed, 3 insertions, 0 deletions
diff --git a/lib/chef/dsl/core.rb b/lib/chef/dsl/core.rb
index 64439943ba..11507857cf 100644
--- a/lib/chef/dsl/core.rb
+++ b/lib/chef/dsl/core.rb
@@ -33,6 +33,7 @@ class Chef
#
# Chef::DSL::Core mixes into Recipes, LWRP Providers and Core Providers
# - this adds cores providers on top of the Recipe DSL.
+ # - this is restricted to recipe/resource/provider context where a resource collection exists.
# - core chef authors should typically include modules into here.
#
# Chef::DSL::Universal mixes into Recipes, LWRP Resources+Providers, Core Resources+Providers, and Attributes files.
diff --git a/lib/chef/dsl/recipe.rb b/lib/chef/dsl/recipe.rb
index eb828f4e95..1bb8f130af 100644
--- a/lib/chef/dsl/recipe.rb
+++ b/lib/chef/dsl/recipe.rb
@@ -41,6 +41,7 @@ class Chef
#
# Chef::DSL::Core mixes into Recipes, LWRP Providers and Core Providers
# - this adds cores providers on top of the Recipe DSL.
+ # - this is restricted to recipe/resource/provider context where a resource collection exists.
# - core chef authors should typically include modules into here.
#
# Chef::DSL::Universal mixes into Recipes, LWRP Resources+Providers, Core Resources+Providers, and Attributes files.
diff --git a/lib/chef/dsl/universal.rb b/lib/chef/dsl/universal.rb
index 8b4449c3cb..591f035d97 100644
--- a/lib/chef/dsl/universal.rb
+++ b/lib/chef/dsl/universal.rb
@@ -32,6 +32,7 @@ class Chef
#
# Chef::DSL::Core mixes into Recipes, LWRP Providers and Core Providers
# - this adds cores providers on top of the Recipe DSL.
+ # - this is restricted to recipe/resource/provider context where a resource collection exists.
# - core chef authors should typically include modules into here.
#
# Chef::DSL::Universal mixes into Recipes, LWRP Resources+Providers, Core Resources+Providers, and Attributes files.