saltstack/salt — pull request #627 by chjohnst (2012-02-01 19:22:12+00:00)
Title: add saltversion grain

# salt 'host' grains.item saltversion
dev017.lax01.mtt: 0.9.6

# salt -G saltversion:0.9.6 cmd.run 'uptime'
host: 11:21:49 up 2 days, 37 min, 7 users, load average: 0.00, 0.01, 0.05