diff options
author | Pete Higgins <pete@peterhiggins.org> | 2020-05-07 16:50:25 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-05-18 20:29:40 -0700 |
commit | a729c9be155e3d335fbd7bd165abd4ba9610943d (patch) | |
tree | 75b4b985ff469f033dc644857a8183d784611d34 /lib/chef/mixin | |
parent | a36abdaf4c6cad4df506866021ec7abb2266706b (diff) | |
download | chef-a729c9be155e3d335fbd7bd165abd4ba9610943d.tar.gz |
Get lib/ free of spelling violations.
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
Diffstat (limited to 'lib/chef/mixin')
-rw-r--r-- | lib/chef/mixin/api_version_request_handling.rb | 2 | ||||
-rw-r--r-- | lib/chef/mixin/properties.rb | 4 | ||||
-rw-r--r-- | lib/chef/mixin/shell_out.rb | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/mixin/api_version_request_handling.rb b/lib/chef/mixin/api_version_request_handling.rb index 2c6d2aa6da..a46e001dd8 100644 --- a/lib/chef/mixin/api_version_request_handling.rb +++ b/lib/chef/mixin/api_version_request_handling.rb @@ -53,7 +53,7 @@ class Chef <<~EOH The reregister command only supports server API version 0. The server that received the request supports a min version of #{min_version} and a max version of #{max_version}. - User keys are now managed via the key rotation commmands. + User keys are now managed via the key rotation commands. Please refer to the documentation on how to manage your keys via the key rotation commands: https://docs.chef.io/ctl_chef_server/#key-rotation EOH diff --git a/lib/chef/mixin/properties.rb b/lib/chef/mixin/properties.rb index b0bccaac87..eca0787dc4 100644 --- a/lib/chef/mixin/properties.rb +++ b/lib/chef/mixin/properties.rb @@ -264,7 +264,7 @@ class Chef end result = properties.values.select(&:identity?) - # if there are no other identity properites set, then the name_property becomes the identity, or + # if there are no other identity properties set, then the name_property becomes the identity, or # failing that we use the actual name. if result.empty? result = name_property ? [ properties[name_property] ] : [ properties[:name] ] @@ -355,7 +355,7 @@ class Chef # # @param other [Object] the other object (Chef::Resource) which implements the properties API # @param includes [Array<Symbol>] splat-args list of symbols of the properties to copy. - # @param exclude [Array<Symbol>] list of symbosl of the properties to exclude. + # @param exclude [Array<Symbol>] list of symbols of the properties to exclude. # @return the self object the properties were copied to for method chaining # def copy_properties_from(other, *includes, exclude: [ :name ]) diff --git a/lib/chef/mixin/shell_out.rb b/lib/chef/mixin/shell_out.rb index 1331d48c59..62916b06de 100644 --- a/lib/chef/mixin/shell_out.rb +++ b/lib/chef/mixin/shell_out.rb @@ -71,7 +71,7 @@ class Chef default_val = 900 return options if options.key?(:timeout) - # FIXME: need to nuke descendents tracker out of Chef::Provider so we can just define that class here without requiring the + # FIXME: need to nuke descendent tracker out of Chef::Provider so we can just define that class here without requiring the # world, and then just use symbol lookup if obj.class.ancestors.map(&:name).include?("Chef::Provider") && obj.respond_to?(:new_resource) && obj.new_resource.respond_to?(:timeout) && !options.key?(:timeout) options[:timeout] = obj.new_resource.timeout ? obj.new_resource.timeout.to_f : default_val |