saltstack/salt — pull request #1081 by wedge-jarrad (2012-04-14 02:32:06+00:00)
Title: Added support for ifconfig to the network module

Not all systems have the 'ip' command installed. To handle these cases interfaces() in modules/network.py will now fall back on 'ifconfig -a' if 'ip addr show' does not produce any results.

Tested on Ubuntu 10.04 and FreeBSD 8.2.

I'm not an experienced python developer and this is the first time I've tried to contribute to an open source project so please help me out if I'm going about this wrong or doing something dumb :)