RoboticCheese/kitchen-openstack — pull request #19 by RoboticCheese (2013-09-22 00:49:31+00:00)
Title: Fix #16 and #17 - Rewrite get_ip method

* Bump dep version of Fog
* Not all OpenStack deployments use the `public` and `private` network
names. Start by trying the `public_ip_addresses` and
`public_ip_addresses` methods.
* If those methods aren't supported (Fog issue with OpenStack systems
without floating IPs), only then resort to trying to parse the
`addresses` hash.
* Ordering of those IPs isn't guaranteed, which would result in
sometimes getting a v6 IP even if you have no way to access it.