saltstack/salt — pull request #1219 by vitaliyf (2012-05-06 18:54:15+00:00)
Title: Targeting->Grains did not actually document how to target minions based on grain information.

Added CLI example to Targeting->Grains documentation page.

There are two other things missing - but I'm not 100% sure on the syntax so you should be able to fix it better:

- On Targeting->Grains, add top.sls example of how to target based on grains (similar to Targeting->Node Groups page).
- On Targeting->Compound, document how to target based on node groups ("N" I presume).