- From: "Subramanian, Rishi" <
>
- To: "
" <
>
- Subject: [chef] Getting backend IP in Ohai
- Date: Wed, 3 Jun 2015 23:43:12 +0000
- Accept-language: en-US
Hi,
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.
Thanks
*******************************************************
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.
*******************************************************
|
- [chef] Getting backend IP in Ohai, Subramanian, Rishi, 06/03/2015
Archive powered by MHonArc 2.6.16.