Centos Repo for RedHat

This commit is contained in:
Iwan Clément
2018-11-13 09:25:56 +00:00
parent 6e7859f213
commit 216279fbe2

View File

@@ -1,7 +1,7 @@
{% if grains['kernel'] == 'Linux' %}
{% if grains['os'] == 'Debian' %}
{% set LURL="deb [arch=amd64] https://download.docker.com/linux/debian " + grains['oscodename']+ " stable" %}
{% elif grains['os'] == 'CentOS'%}
{% elif grains['os_family'] == 'RedHat' %}
{% set LURL='https://download.docker.com/linux/centos/' + grains['osmajorrelease']|string + '/$basearch/stable' %}
{% endif %}
RemovePreviousDocker: