summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2021-09-14 13:42:41 -0700
committerTim Smith <tsmith84@gmail.com>2021-09-14 13:43:01 -0700
commit0d48076e5eb1acc0ccd6ba07e7c287840b35a637 (patch)
tree28a7f698305410e5a16e362ed62a19dffee8ad74
parentc35c469e8eb8d7446db33f48347136095b43552a (diff)
downloadchef-0d48076e5eb1acc0ccd6ba07e7c287840b35a637.tar.gz
Fix spelling and chefstyle issues
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--cspell.json1
-rw-r--r--lib/chef/secret_fetcher/base.rb2
-rw-r--r--spec/unit/resource/chef_client_scheduled_task_spec.rb2
3 files changed, 3 insertions, 2 deletions
diff --git a/cspell.json b/cspell.json
index 7bd65a067d..13edadf059 100644
--- a/cspell.json
+++ b/cspell.json
@@ -14,6 +14,7 @@
"dictionaries": ["chef"],
// words - list of words to be always considered correct
"words": [
+ "windowspowershell",
"IOAV",
"abcz",
"Abdulin",
diff --git a/lib/chef/secret_fetcher/base.rb b/lib/chef/secret_fetcher/base.rb
index 2eee1df38b..9e655fe08a 100644
--- a/lib/chef/secret_fetcher/base.rb
+++ b/lib/chef/secret_fetcher/base.rb
@@ -56,7 +56,7 @@ class Chef
# @raise [Chef::Exceptions::Secret::ConfigurationInvalid] if it is not.
def validate!; end
- # Called to fetch the secret identified by 'identifer'. Implementations
+ # Called to fetch the secret identified by 'identifier'. Implementations
# should expect that `validate!` has been invoked before `do_fetch`.
#
# @param identifier [Object] Unique identifier of the secret to be retrieved.
diff --git a/spec/unit/resource/chef_client_scheduled_task_spec.rb b/spec/unit/resource/chef_client_scheduled_task_spec.rb
index de138ef9b1..bf165d4b70 100644
--- a/spec/unit/resource/chef_client_scheduled_task_spec.rb
+++ b/spec/unit/resource/chef_client_scheduled_task_spec.rb
@@ -29,7 +29,7 @@ describe Chef::Resource::ChefClientScheduledTask do
allow(ENV).to receive(:[]).and_call_original
allow(ENV).to receive(:[]).with("COMSPEC").and_return("C:\\Windows\\System32\\cmd.exe")
end
-
+
it "sets the default action as :add" do
expect(resource.action).to eql([:add])
end