saltstack/salt — pull request #10970 by thedrow (2014-03-05 15:43:11+00:00)
Title: Allow access to any environment variable from grains

This PR fixes #7873. I haven't tested it but it should work.
Should we deprecate the path grain as a result?
Should we strip() any value in os.environ?