diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/file_access_control/windows.rb | 4 | ||||
-rw-r--r-- | lib/chef/file_content_management/deploy/mv_unix.rb | 2 | ||||
-rw-r--r-- | lib/chef/http.rb | 2 | ||||
-rw-r--r-- | lib/chef/knife/core/bootstrap_context.rb | 2 | ||||
-rw-r--r-- | lib/chef/knife/core/windows_bootstrap_context.rb | 2 | ||||
-rw-r--r-- | lib/chef/resource/launchd.rb | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/lib/chef/file_access_control/windows.rb b/lib/chef/file_access_control/windows.rb index e59df01047..118eae179c 100644 --- a/lib/chef/file_access_control/windows.rb +++ b/lib/chef/file_access_control/windows.rb @@ -96,7 +96,7 @@ class Chef self_ace.mask = securable_object.predict_rights_mask(target_ace.mask) new_target_acl << self_ace end - # As there is no inheritence needed in case of WRITE permissions. + # As there is no inheritance needed in case of WRITE permissions. if target_ace.mask != Chef::ReservedNames::Win32::API::Security::WRITE && target_ace.flags & (CONTAINER_INHERIT_ACE | OBJECT_INHERIT_ACE) != 0 children_ace = target_ace.dup children_ace.flags |= INHERIT_ONLY_ACE @@ -242,7 +242,7 @@ class Chef flags = 0 # - # Configure child inheritence only if the resource is some + # Configure child inheritance only if the resource is some # type of a directory. # if resource.is_a? Chef::Resource::Directory diff --git a/lib/chef/file_content_management/deploy/mv_unix.rb b/lib/chef/file_content_management/deploy/mv_unix.rb index 26de383e70..19345a2b26 100644 --- a/lib/chef/file_content_management/deploy/mv_unix.rb +++ b/lib/chef/file_content_management/deploy/mv_unix.rb @@ -51,7 +51,7 @@ class Chef # in the case where i'm running chef-solo on my homedir as myself and some root-shell # work has caused dotfiles of mine to change to root-owned, i'm fine with this not being # exceptional, and i think most use cases will consider this to not be exceptional, and - # the right thing is to fix the ownership of the file to the user running the commmand + # the right thing is to fix the ownership of the file to the user running the command # (which requires write perms to the directory, or mv will throw an exception) begin ::File.chown(uid, nil, src) diff --git a/lib/chef/http.rb b/lib/chef/http.rb index 2a21aef191..1777739a93 100644 --- a/lib/chef/http.rb +++ b/lib/chef/http.rb @@ -52,7 +52,7 @@ class Chef def handle_chunk(next_chunk) # stream handlers handle responses so must be applied in reverse order - # (same as #apply_stream_complete_middleware or #apply_response_midddleware) + # (same as #apply_stream_complete_middleware or #apply_response_middleware) @stream_handlers.reverse.inject(next_chunk) do |chunk, handler| Chef::Log.trace("Chef::HTTP::StreamHandler calling #{handler.class}#handle_chunk") handler.handle_chunk(chunk) diff --git a/lib/chef/knife/core/bootstrap_context.rb b/lib/chef/knife/core/bootstrap_context.rb index 7d99ea0d96..a70e463089 100644 --- a/lib/chef/knife/core/bootstrap_context.rb +++ b/lib/chef/knife/core/bootstrap_context.rb @@ -28,7 +28,7 @@ class Chef # bootstrap templates. For backwards compatibility, they +must+ set the # following instance variables: # * @config - a hash of knife's config values - # * @run_list - the run list for the node to boostrap + # * @run_list - the run list for the node to bootstrap # class BootstrapContext diff --git a/lib/chef/knife/core/windows_bootstrap_context.rb b/lib/chef/knife/core/windows_bootstrap_context.rb index f0b9021843..63d5ef9b51 100644 --- a/lib/chef/knife/core/windows_bootstrap_context.rb +++ b/lib/chef/knife/core/windows_bootstrap_context.rb @@ -27,7 +27,7 @@ class Chef # bootstrap templates. For backwards compatibility, they +must+ set the # following instance variables: # * @config - a hash of knife's config values - # * @run_list - the run list for the node to boostrap + # * @run_list - the run list for the node to bootstrap # class WindowsBootstrapContext < BootstrapContext attr_accessor :config diff --git a/lib/chef/resource/launchd.rb b/lib/chef/resource/launchd.rb index f71abd8557..70ff7b8974 100644 --- a/lib/chef/resource/launchd.rb +++ b/lib/chef/resource/launchd.rb @@ -68,7 +68,7 @@ class Chef # check. According to `man 5 launchd.plist`: # StartCalendarInterval <dictionary of integers or array of dictionaries of integers> # ... Missing arguments are considered to be wildcard. - # What the man page doesn't state, but what was observed (OSX 10.11.5, launchctrl v3.4.0) + # What the man page doesn't state, but what was observed (OSX 10.11.5, launchctl v3.4.0) # Is that keys that are specified, but invalid, will also be treated as a wildcard # this means that an entry like: # { "Hour"=>0, "Weekday"=>"6-7"} |