diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-08-19 08:55:28 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-08-19 08:55:28 -0700 |
commit | 9a2812c80438cd7f8d3a683a1da5eb6acc3c2e06 (patch) | |
tree | 30b9d0909d025c4be953bf4bf5e32a4126892b83 | |
parent | a61bba8887723c7c7dc7e0211a31af9dc6e84b2b (diff) | |
download | ohai-9a2812c80438cd7f8d3a683a1da5eb6acc3c2e06.tar.gz |
Add missing require for windows network pluginnetwork
This was missed since the windows network plugin just mocks out the IP
data. I'll see what I can do to make these more real world tests in a
followup PR
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/ohai/plugins/windows/network.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/windows/network.rb b/lib/ohai/plugins/windows/network.rb index 2b8fdd62..a7fc9071 100644 --- a/lib/ohai/plugins/windows/network.rb +++ b/lib/ohai/plugins/windows/network.rb @@ -117,7 +117,7 @@ Ohai.plugin(:Network) do end collect_data(:windows) do - + require "ipaddress" unless defined?(IPAddress) require "wmi-lite/wmi" unless defined?(WmiLite::Wmi) iface = Mash.new |