summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTerry <armandminassian@yahoo.com>2022-07-07 10:30:11 -0700
committerTerry <armandminassian@yahoo.com>2022-07-07 10:30:11 -0700
commitf92e35f779a6b340468c792eccb9d496cef23c7b (patch)
tree7093cbdf3495b4eb675fd69eae8b52341c37d5a2
parentae13bc5695119051eea89d8b313821103850a1d7 (diff)
downloadchef-f92e35f779a6b340468c792eccb9d496cef23c7b.tar.gz
Wording Change
Providing better explanation of somewhat confusing error message, which, if misunderstood, could cause issues.
-rw-r--r--lib/chef/run_context.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/run_context.rb b/lib/chef/run_context.rb
index ce4d545aa4..be7b787fcc 100644
--- a/lib/chef/run_context.rb
+++ b/lib/chef/run_context.rb
@@ -413,9 +413,9 @@ class Chef
logger.warn(<<~ERROR_MESSAGE)
MissingCookbookDependency:
Recipe `#{recipe_name}` is not in the run_list, and cookbook '#{cookbook_name}'
- is not a dependency of any cookbook in the run_list. To load this recipe,
- first add a dependency on cookbook '#{cookbook_name}' in the cookbook you're
- including it from in that cookbook's metadata.
+ is not a dependency of any cookbook in the run_list. To load this recipe,
+ first add a dependency of the cookbook '#{cookbook_name}' into the metadata
+ of the cookbook which depends on '#{cookbook_name}'.
ERROR_MESSAGE
end