summaryrefslogtreecommitdiff
path: root/lib/ohai/plugins/ip_scopes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ohai/plugins/ip_scopes.rb')
-rw-r--r--lib/ohai/plugins/ip_scopes.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ohai/plugins/ip_scopes.rb b/lib/ohai/plugins/ip_scopes.rb
index 5ef5474e..6d2b635c 100644
--- a/lib/ohai/plugins/ip_scopes.rb
+++ b/lib/ohai/plugins/ip_scopes.rb
@@ -24,6 +24,8 @@ Ohai.plugin(:IpScopes) do
begin
require "ipaddr_extensions"
+ Ohai::Log.warn("The IpScopes Ohai plugin has been deprecated and will be removed from Ohai 14 (April 2018).")
+
network["interfaces"].keys.sort.each do |if_name|
next if network["interfaces"][if_name]["addresses"].nil?