diff options
author | Pete Higgins <pete@peterhiggins.org> | 2020-04-10 15:54:29 -0700 |
---|---|---|
committer | Pete Higgins <pete@peterhiggins.org> | 2020-04-15 16:51:50 -0700 |
commit | 3789de2be14a1f2055fdd153dc75bc45e07a652b (patch) | |
tree | 5be14eb4beb5294610d5c22c000f4fd2c67458ee | |
parent | 41323875c78b865e5a3bb520da8876059a3822fa (diff) | |
download | ohai-3789de2be14a1f2055fdd153dc75bc45e07a652b.tar.gz |
Remove comments with reference info.
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
-rw-r--r-- | lib/ohai/plugins/windows/dmi.rb | 14 | ||||
-rw-r--r-- | spec/unit/plugins/windows/dmi_spec.rb | 5 |
2 files changed, 0 insertions, 19 deletions
diff --git a/lib/ohai/plugins/windows/dmi.rb b/lib/ohai/plugins/windows/dmi.rb index 1a990bd9..ebe92462 100644 --- a/lib/ohai/plugins/windows/dmi.rb +++ b/lib/ohai/plugins/windows/dmi.rb @@ -16,20 +16,6 @@ # limitations under the License. # -=begin -Here are the 5 sections of node['dmi'] that are returned on my Ubuntu workstation, and what I believe are the Win32 equivalents. - -chassis: https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-systemenclosure -processor: https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-processor -bios: https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-bios -system: https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-computersystemproduct -base_board: https://docs.microsoft.com/en-us/windows/win32/cimwin32prov/win32-baseboard - -I think these are the equivalents. - -Note the first one is what is in the system_enclosure plugin today. We can copy that pattern into the dmi plugin and use it to pull all of the sections. The system_enclosure plugin should then be set for future deprecation. -=end - Ohai.plugin(:DMI) do provides "dmi" diff --git a/spec/unit/plugins/windows/dmi_spec.rb b/spec/unit/plugins/windows/dmi_spec.rb index 422b60a3..fe5afd09 100644 --- a/spec/unit/plugins/windows/dmi_spec.rb +++ b/spec/unit/plugins/windows/dmi_spec.rb @@ -16,11 +16,6 @@ # limitations under the License. # -=begin -CASES = { -} -=end - require "spec_helper" describe Ohai::System, "DMI", :windows_only do |