summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2020-08-19 09:12:31 -0700
committerGitHub <noreply@github.com>2020-08-19 09:12:31 -0700
commit6c55c21d5067495944c471056418a2560aa97aec (patch)
tree30b9d0909d025c4be953bf4bf5e32a4126892b83
parenta61bba8887723c7c7dc7e0211a31af9dc6e84b2b (diff)
parent9a2812c80438cd7f8d3a683a1da5eb6acc3c2e06 (diff)
downloadohai-6c55c21d5067495944c471056418a2560aa97aec.tar.gz
Merge pull request #1500 from chef/network
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/ohai/plugins/windows/network.rb2
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