saltstack/salt — pull request #941 by teancom (2012-03-17 21:30:55+00:00)
Title: remove localfqdn grain

I realize I added this grain just a couple of days ago, but as I've thought about it, I've become more convinced by the argument (sorry, I forget who - dzen maybe?) from #salt that we should instead fix the fqdn grain. By "fix", I will rejigger it to check if socket.getfqdn() returns localhost, and fall back to 'hostname -f', etc. But I wanted to remove the localfqdn grain before the 0.9.8 release, so that we weren't stuck with it for all time (or at least a couple of releases).