redhat-openstack/astapor — pull request #183 by cwolferh (2014-04-23 00:09:39+00:00)
Title: get_network_from_nic function fixes

Do not use a Facter:: call within a function since it seems
Foreman-host specific rather than client-node specific (and we just
care about client facts/variables).

Also, make sure not to call gsub on a nil object to avoid mysterious
stack traces.