Changed grain to look at osmajorrelease instead of osrelease

This commit is contained in:
justinta89 2015-10-14 10:42:55 -06:00
parent bb900d428b
commit d88ac2589f

View file

@ -1,7 +1,7 @@
{% if grains['os'] == 'CentOS' %}
# START CentOS pkgrepo tests
{% if grains['osrelease'].startswith('7.') %}
{% if grains['osmajorrelease'] == '7' %}
epel-salttest:
pkgrepo.managed:
- humanname: Extra Packages for Enterprise Linux 7 - $basearch (salttest)