diff options
author | Davin Taddeo <davin@chef.io> | 2020-06-15 12:24:19 -0400 |
---|---|---|
committer | Davin Taddeo <davin@chef.io> | 2020-06-15 12:24:19 -0400 |
commit | 5eab72b9e784d1018adfa64f5da6436345679f44 (patch) | |
tree | f8f8cd52fe6aacc31597fa7204325d72d6fdda3c | |
parent | 6d0a315094ebec2d38736cf086b823a0b505abc0 (diff) | |
download | chef-5eab72b9e784d1018adfa64f5da6436345679f44.tar.gz |
updates for chefstyle and spellcheck errors
Signed-off-by: Davin Taddeo <davin@chef.io>
-rw-r--r-- | kitchen-tests/cookbooks/end_to_end/recipes/linux.rb | 2 | ||||
-rw-r--r-- | lib/chef/provider/package/snap.rb | 2 | ||||
-rw-r--r-- | lib/chef/resource/windows_audit_policy.rb | 2 | ||||
-rw-r--r-- | spec/unit/resource/windows_audit_policy_spec.rb | 1 |
4 files changed, 3 insertions, 4 deletions
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/linux.rb b/kitchen-tests/cookbooks/end_to_end/recipes/linux.rb index da5265359d..aad4895246 100644 --- a/kitchen-tests/cookbooks/end_to_end/recipes/linux.rb +++ b/kitchen-tests/cookbooks/end_to_end/recipes/linux.rb @@ -119,5 +119,5 @@ include_recipe "::_openssl" include_recipe "::_tests" # at the moment these do not run properly in docker -# we need to investage if this is a snap on docker issue or a chef issue +# we need to investigate if this is a snap on docker issue or a chef issue # include_recipe "::_snap" if platform?("ubuntu") diff --git a/lib/chef/provider/package/snap.rb b/lib/chef/provider/package/snap.rb index 7aaaf3f30f..338f2ec510 100644 --- a/lib/chef/provider/package/snap.rb +++ b/lib/chef/provider/package/snap.rb @@ -137,7 +137,7 @@ class Chef # while it is expected to allow clients to connect using https over # a tcp socket, at this point only a unix socket is supported. the - # socket is /run/snapd.socket note - unixsocket is not defined on + # socket is /run/snapd.socket note - unix socket is not defined on # windows systems if defined?(::UNIXSocket) UNIXSocket.open("/run/snapd.socket") do |socket| diff --git a/lib/chef/resource/windows_audit_policy.rb b/lib/chef/resource/windows_audit_policy.rb index 52aa09a5ab..91e03c7864 100644 --- a/lib/chef/resource/windows_audit_policy.rb +++ b/lib/chef/resource/windows_audit_policy.rb @@ -81,7 +81,7 @@ class Chef "Token Right Adjusted Events", "User / Device Claims", "User Account Management", - ] + ].freeze provides :windows_audit_policy description "Use the **windows_audit_policy** resource to configure system level and per-user Windows advanced audit policy settings." diff --git a/spec/unit/resource/windows_audit_policy_spec.rb b/spec/unit/resource/windows_audit_policy_spec.rb index b400b6772d..80a92f2656 100644 --- a/spec/unit/resource/windows_audit_policy_spec.rb +++ b/spec/unit/resource/windows_audit_policy_spec.rb @@ -16,7 +16,6 @@ # require "spec_helper" -require "chef/resource/windows_audit_policy" describe Chef::Resource::WindowsAuditPolicy do let(:resource) { Chef::Resource::WindowsAuditPolicy.new("fakey_fakerton") } |