summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-06-18 18:00:51 -0700
committerTim Smith <tsmith84@gmail.com>2020-06-23 14:48:25 -0700
commitd71346347e518137028641f5a4448a31450ebc79 (patch)
tree784276042aaf4c33668c480f01be94592d9edbc2
parent15d6bc12880f0bd45ddcdc97991954e24a06260e (diff)
downloadchef-d71346347e518137028641f5a4448a31450ebc79.tar.gz
Fix more typos
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--CHANGELOG.md6
-rw-r--r--RELEASE_NOTES.md4
-rw-r--r--lib/chef/file_access_control/windows.rb4
-rw-r--r--lib/chef/file_content_management/deploy/mv_unix.rb2
-rw-r--r--lib/chef/http.rb2
-rw-r--r--lib/chef/knife/core/bootstrap_context.rb2
-rw-r--r--lib/chef/knife/core/windows_bootstrap_context.rb2
-rw-r--r--lib/chef/resource/launchd.rb2
-rw-r--r--spec/unit/knife/cookbook_show_spec.rb1
9 files changed, 12 insertions, 13 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index cb4dc1b984..a6599143c1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -162,7 +162,7 @@
- Another round of description updates &amp;&amp; Docs generator tweaks [#9778](https://github.com/chef/chef/pull/9778) ([tas50](https://github.com/tas50))
- Fix failing RHEL 6 kitchen tests [#9740](https://github.com/chef/chef/pull/9740) ([tas50](https://github.com/tas50))
- Fix windows package super bug and cleanup [#9790](https://github.com/chef/chef/pull/9790) ([lamont-granquist](https://github.com/lamont-granquist))
-- Fix required errors in apt_preference and systctl resources [#9791](https://github.com/chef/chef/pull/9791) ([tas50](https://github.com/tas50))
+- Fix required errors in apt_preference and sysctl resources [#9791](https://github.com/chef/chef/pull/9791) ([tas50](https://github.com/tas50))
- fix Habitat Windows package build [#9739](https://github.com/chef/chef/pull/9739) ([robbkidd](https://github.com/robbkidd))
- Fix failures in the cron_d resource :remove action [#9794](https://github.com/chef/chef/pull/9794) ([tas50](https://github.com/tas50))
@@ -1130,7 +1130,7 @@
- Update license scout to 1.0.22 [#8131](https://github.com/chef/chef/pull/8131) ([tas50](https://github.com/tas50))
- Backport various name_property fixes in resources from Chef 15 [#8134](https://github.com/chef/chef/pull/8134) ([tas50](https://github.com/tas50))
- Allow for mixlib-archive 1.x [#8141](https://github.com/chef/chef/pull/8141) ([tas50](https://github.com/tas50))
-- systctl: Allow slashes in key or block name [#8142](https://github.com/chef/chef/pull/8142) ([tas50](https://github.com/tas50))
+- sysctl: Allow slashes in key or block name [#8142](https://github.com/chef/chef/pull/8142) ([tas50](https://github.com/tas50))
- homebrew_cask: Ensure the resource is fully idempotent [#8143](https://github.com/chef/chef/pull/8143) ([tas50](https://github.com/tas50))
## [v14.8.12](https://github.com/chef/chef/tree/v14.8.12) (2018-12-13)
@@ -3295,7 +3295,7 @@ of partial templates.
* windows_user: look up username instead of resource name (Issue #1705)
* Remove the unused bootstrap templates that install chef from rubygems
* Remove the Chef 10 functionality from bootstrap.
-* Deprecate --distro / --template_file options in favor of --boostrap-template
+* Deprecate --distro / --template_file options in favor of --bootstrap-template
* Add `:node_ssl_verify_mode` & `:node_verify_api_cert` options to bootstrap
to be able to configure these settings on the bootstrapped node.
* Add partial_search dsl method to Chef::Search::Query, add result filtering to search.
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index 6e50d0ea93..5ca8fda4bf 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -1072,7 +1072,7 @@ We've further optimized our install footprint and reduced the size of `/opt/chef
## filesystem2 Ohai Data on Windows
-Ohai 15.6 includes new `node['filesystem2']` data on Windows hosts. Fileystem2 presents filesystem data by both mountpoint and by device name. This data structure matches that of the filesystem plugin on Linux and other *nix operating systems. Thanks [@jaymzh](https://github.com/jaymzh) for this new data structure.
+Ohai 15.6 includes new `node['filesystem2']` data on Windows hosts. Filesystem2 presents filesystem data by both mountpoint and by device name. This data structure matches that of the filesystem plugin on Linux and other *nix operating systems. Thanks [@jaymzh](https://github.com/jaymzh) for this new data structure.
# What's New in 15.5.15
@@ -2642,7 +2642,7 @@ The windows_package resource now supports setting the `sensitive` property to av
### sysctl
-The sysctl resource will now update the on-disk `systctl.d` file even if the current sysctl value matches the desired value.
+The sysctl resource will now update the on-disk `sysctl.d` file even if the current sysctl value matches the desired value.
### windows_task
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"}
diff --git a/spec/unit/knife/cookbook_show_spec.rb b/spec/unit/knife/cookbook_show_spec.rb
index a9d43eb766..794447c4eb 100644
--- a/spec/unit/knife/cookbook_show_spec.rb
+++ b/spec/unit/knife/cookbook_show_spec.rb
@@ -16,7 +16,6 @@
# limitations under the License.
#
-# rename to cookbook not coookbook
require "spec_helper"
describe Chef::Knife::CookbookShow do