saltstack/salt-contrib — pull request #95 by iggy (2014-10-09 21:36:26+00:00)
Title: Add grains that pull metadata from GCE metadata servers

Google exposes a certain amount of instance metadata via some local IPs. Take
the info from that interface and put it into grains to allow easy access from
inside salt states, etc.