saltstack/salt — pull request #16306 by hathawsh (2014-10-01 22:43:53+00:00)
Title: This patch fixes the 'test' mode of the 'network' state module.

Before this patch, rh_ip.py returned newlines in some cases and no newlines in other cases, making the 'network' state think there were always differences that needed to be applied. This patch makes rh_ip.py never return newlines. This patch also fixes the formatting of the diff output.