Enable repo for RedHat

This commit is contained in:
Iwan Clément
2018-11-13 10:04:28 +00:00
parent 216279fbe2
commit dd5f26e490

View File

@@ -1,4 +1,11 @@
{% if grains['kernel'] == 'Linux' %}
{% if grains['os'] == 'RedHat' %}
SELinux for Redhat:
cmd.run:
- name: subscription-manager repos --enable=rhel-7-server-extras-rpms
{% endif %}
{% if grains['os'] == 'Debian' %}
{% set LURL="deb [arch=amd64] https://download.docker.com/linux/debian " + grains['oscodename']+ " stable" %}
{% elif grains['os_family'] == 'RedHat' %}