ceph/ceph-cookbooks — pull request #106 by hufman (2014-03-14 15:00:47+00:00)
Title: Prevents crash if an interface doesn't have an address

On some of my systems, I have a bond interface that doesn't have an address. Without this change, Chef crashes when it tries to iterate over the null addrs["addresses"] element.
I had to split it to two functions because of cyclic complexity.