Centos Repo for RedHat
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{% if grains['kernel'] == 'Linux' %}
|
{% if grains['kernel'] == 'Linux' %}
|
||||||
{% 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'] == 'CentOS'%}
|
{% elif grains['os_family'] == 'RedHat' %}
|
||||||
{% set LURL='https://download.docker.com/linux/centos/' + grains['osmajorrelease']|string + '/$basearch/stable' %}
|
{% set LURL='https://download.docker.com/linux/centos/' + grains['osmajorrelease']|string + '/$basearch/stable' %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
RemovePreviousDocker:
|
RemovePreviousDocker:
|
||||||
|
|||||||
Reference in New Issue
Block a user