summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cspell.json1
-rw-r--r--lib/chef/provider/template/content.rb2
2 files changed, 1 insertions, 2 deletions
diff --git a/cspell.json b/cspell.json
index 4f620ffdf9..df5299a71b 100644
--- a/cspell.json
+++ b/cspell.json
@@ -274,7 +274,6 @@
"cookiecurse",
"Cookstyle",
"cookstyle",
- "coookbook",
"copypasta",
"coreutils",
"Cowie",
diff --git a/lib/chef/provider/template/content.rb b/lib/chef/provider/template/content.rb
index fc8f30a7dc..00a82fea79 100644
--- a/lib/chef/provider/template/content.rb
+++ b/lib/chef/provider/template/content.rb
@@ -63,7 +63,7 @@ class Chef
context[:template_finder] = template_finder
# helper variables
- context[:cookbook_name] = new_resource.cookbook_name unless context.keys.include?(:coookbook_name)
+ context[:cookbook_name] = new_resource.cookbook_name unless context.keys.include?(:cookbook_name)
context[:recipe_name] = new_resource.recipe_name unless context.keys.include?(:recipe_name)
context[:recipe_line_string] = new_resource.source_line unless context.keys.include?(:recipe_line_string)
context[:recipe_path] = new_resource.source_line_file unless context.keys.include?(:recipe_path)