saltstack/salt — pull request #6586 by whiteinge (2013-08-08 22:11:08+00:00)
Title: Added function filter_by to grains module

This will help to keep too much conditional logic out of Jinja templates
by allowing the creation of unobtrusive lookup tables.