diff options
author | Thom May <thom@may.lt> | 2017-06-29 18:38:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-29 18:38:18 +0100 |
commit | 62f43a2dc7feee0588b0ba6344d9473893990da5 (patch) | |
tree | 6ab24bffe4b894a4f2048a6c3db5e80e1a88a9b5 | |
parent | efde68e7c761e6b5e1f58089175ae3a95473e60e (diff) | |
parent | 7dbc7934744036cf504bc76078e5713a1bc101a1 (diff) | |
download | ohai-62f43a2dc7feee0588b0ba6344d9473893990da5.tar.gz |
Merge pull request #1023 from chef/deprecate_scope
Deprecate the IPScopes Plugin
-rw-r--r-- | lib/ohai/plugins/ip_scopes.rb | 2 |
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? |