diff options
author | Tim Smith <tsmith@chef.io> | 2020-08-19 09:12:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-19 09:12:31 -0700 |
commit | 6c55c21d5067495944c471056418a2560aa97aec (patch) | |
tree | 30b9d0909d025c4be953bf4bf5e32a4126892b83 | |
parent | a61bba8887723c7c7dc7e0211a31af9dc6e84b2b (diff) | |
parent | 9a2812c80438cd7f8d3a683a1da5eb6acc3c2e06 (diff) | |
download | ohai-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.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 |