saltstack/salt-states — pull request #35 by briffle (2013-08-01 14:55:00+00:00)
Title: use grains['osrelease'] to decide wich EPEL package to install

Both RHEL 6.x and 5.x are supported versions. I just had to figure out how to compare only the first number in the osrelease grain, and thought I would share my finding to help others.