mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Changed grain to look at osmajorrelease instead of osrelease
This commit is contained in:
parent
bb900d428b
commit
d88ac2589f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue