Merge pull request #27946 from jtand/pkgrepo-fix

Changed grain to look at osmajorrelease instead of osrelease
This commit is contained in:
Justin Anderson 2015-10-14 13:54:08 -06:00
commit f29ca5f87b

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)