summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-06-23 15:39:45 -0700
committerTim Smith <tsmith84@gmail.com>2020-06-23 15:39:45 -0700
commit7bd12469af0ba7227d77124dce4cdf7b9051e331 (patch)
tree4332aa7476dd6416bd31b22d737ccaae714e396a
parent6f6f107bc1c76e5f3b5c8f2c1dbde73859e8ad09 (diff)
downloadohai-7bd12469af0ba7227d77124dce4cdf7b9051e331.tar.gz
Fix a few typos
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--RELEASE_NOTES.md8
-rw-r--r--lib/ohai/plugins/aix/uptime.rb2
-rw-r--r--lib/ohai/plugins/linux/mdadm.rb2
3 files changed, 6 insertions, 6 deletions
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index 6c9ccdd1..e05fac21 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -3,13 +3,13 @@
## 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.
# Ohai Release Notes 15.3
## Passwd Is Once Again Optional
-The Passwd plugin, which provides information on all users and groups on a node, was intented to be made optional with the release of Ohai/Chef 14.0. Howerver, due to the way data was used in the OpenStack plugin, the Passwd plugin was never actually disabled. The Passwd plugin has been historically problematic for users with nodes that are connected to LDAP or Active Directory. Due to this we've chosen to fix our OpenStack bug and once again disable the Passwd plugin. If you relied on the data in node['etc'] you'll need to set the `optional_plugins` configuration value in your `client.rb` config.
+The Passwd plugin, which provides information on all users and groups on a node, was intented to be made optional with the release of Ohai/Chef 14.0. However, due to the way data was used in the OpenStack plugin, the Passwd plugin was never actually disabled. The Passwd plugin has been historically problematic for users with nodes that are connected to LDAP or Active Directory. Due to this we've chosen to fix our OpenStack bug and once again disable the Passwd plugin. If you relied on the data in node['etc'] you'll need to set the `optional_plugins` configuration value in your `client.rb` config.
Example segment of client.rb
@@ -50,7 +50,7 @@ The Virtualbox plugin now gathers a large amount of data on Virtualbox hosts. Ad
### Improved Linux Platform / Platform Family Detection
-Platform and plaform_family detection on Linux has been rewritten to utilize the latest config files on modern Linux distributions before falling back to slower and fragile legacy detection methods. Ohai will now begin by parsing the contents of /etc/os-release for OS information if available. This improves the reliability of detection on modern distros and allows detection of new distros as they're released.
+Platform and platform_family detection on Linux has been rewritten to utilize the latest config files on modern Linux distributions before falling back to slower and fragile legacy detection methods. Ohai will now begin by parsing the contents of /etc/os-release for OS information if available. This improves the reliability of detection on modern distros and allows detection of new distros as they're released.
With this change we now detect `sles_sap` as a member of the `suse` platform_family. Additionally this change corrects our detection of the platform_version on Cisco Nexus switches where we previously incorrectly appended the build number to the version string.
@@ -129,7 +129,7 @@ BSD-based systems can now detect guests running on KVM and Amazon's hypervisor w
## Filesystem Plugin on AIX and Solaris
-AIX and Solaris now ship with a filesystem2 plugin that updates the filesystem data to match that of Linux, macOS, amd BSD hosts. This new data structure makes accessing filesystem data in recipes easier and especially improves the layout and depth of data on ZFS filesystems. In Chef 15 (April 2019) we will begin wrting this same format of data to the existing `node['filesystem']` namespace. In Chef 16 (April 2020) we will remove the `node['filesystem2']` namspace, completing the transition to the new format. Thank you @jaymzh for continuing the updates to our filesystem plugins with this change.
+AIX and Solaris now ship with a filesystem2 plugin that updates the filesystem data to match that of Linux, macOS, amd BSD hosts. This new data structure makes accessing filesystem data in recipes easier and especially improves the layout and depth of data on ZFS filesystems. In Chef 15 (April 2019) we will begin wrting this same format of data to the existing `node['filesystem']` namespace. In Chef 16 (April 2020) we will remove the `node['filesystem2']` namespace, completing the transition to the new format. Thank you @jaymzh for continuing the updates to our filesystem plugins with this change.
## macOS Improvements
diff --git a/lib/ohai/plugins/aix/uptime.rb b/lib/ohai/plugins/aix/uptime.rb
index ec515aa2..470429ce 100644
--- a/lib/ohai/plugins/aix/uptime.rb
+++ b/lib/ohai/plugins/aix/uptime.rb
@@ -30,7 +30,7 @@ Ohai.plugin(:Uptime) do
so = shell_out("LC_ALL=POSIX ps -o etime= -p 1").stdout.strip
# Here we'll check our shell_out for a dash, which indicates there is a # of days involved
- # We'll chunk off the days, hours (where applicable), minutes, seconds into seperate vars
+ # We'll chunk off the days, hours (where applicable), minutes, seconds into separate vars
# We also need to do this because ps -o etime= will not display days if the machine has been up for less than 24 hours
# If the machine has been up for less than one hour, the shell_out will not output hours hence our else
# see here: https://www.ibm.com/support/knowledgecenter/en/ssw_aix_72/com.ibm.aix.cmds4/ps.htm#ps__row-d3e109655
diff --git a/lib/ohai/plugins/linux/mdadm.rb b/lib/ohai/plugins/linux/mdadm.rb
index 407e1dd9..925817dc 100644
--- a/lib/ohai/plugins/linux/mdadm.rb
+++ b/lib/ohai/plugins/linux/mdadm.rb
@@ -105,7 +105,7 @@ Ohai.plugin(:Mdadm) do
# gather detailed information on the array
so = shell_out("mdadm --detail /dev/#{device}")
- # if the mdadm command was sucessful pass so.stdout to create_raid_device_mash to grab the tidbits we want
+ # if the mdadm command was successful pass so.stdout to create_raid_device_mash to grab the tidbits we want
mdadm[device] = create_raid_device_mash(so.stdout) if so.stdout
mdadm[device]["members"] = devices[device]["active"]
mdadm[device]["spares"] = devices[device]["spare"]