Enable repo for RedHat
This commit is contained in:
@@ -1,4 +1,11 @@
|
|||||||
{% if grains['kernel'] == 'Linux' %}
|
{% 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' %}
|
{% if grains['os'] == 'Debian' %}
|
||||||
{% set LURL="deb [arch=amd64] https://download.docker.com/linux/debian " + grains['oscodename']+ " stable" %}
|
{% set LURL="deb [arch=amd64] https://download.docker.com/linux/debian " + grains['oscodename']+ " stable" %}
|
||||||
{% elif grains['os_family'] == 'RedHat' %}
|
{% elif grains['os_family'] == 'RedHat' %}
|
||||||
|
|||||||
Reference in New Issue
Block a user