Getting backend IP in Ohai


I have some servers with a frontend IP and one or two backend IPs. In my cookbook I want to use the backend IPs, but the Ohai ipaddress only gives the frontend IP. The backend IPs are only listed under their respective interfaces. Is there a way to get Ohai to list all the IPs at once? Or alternatively, can I do a wildcard search and use something like node[“network”][“interfaces”][*][“instance”]? The servers are running Windows 2008r2.


This message (including any files transmitted with it) may contain confidential and/or proprietary information, is the property of Interactive Data Corporation and/or its subsidiaries, and is directed only to the addressee(s). If you are not the designated recipient or have reason to believe you received this message in error, please delete this message from your system and notify the sender immediately. An unintended recipient’s disclosure, copying, distribution, or use of this message or any attachments is prohibited and may be unlawful.