opscode/knife-openstack — pull request #17 by djaara (2012-12-05 09:58:48+00:00)
Title: Fix nil exception during configuring floating ip on some openstack installations

Fix nil exception during configuring floating ip on some openstack installations.

Some openstack installations REST JSON response does not contain array
public with list of public IP. Due to this, Ruby object representation
does not contain addresses['public'] and
push({"version"=>4,"addr"=>address.ip}) causes nil exception.

Fix creates empty array addresses['public'] when nil.