int to string
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
{% 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'] == 'CentOS'%}
|
||||||
{% set LURL='baseurl=https://download.docker.com/linux/centos/' + grains['osmajorrelease'] + '/$basearch/stable' %}
|
{% set LURL='baseurl=https://download.docker.com/linux/centos/' + str(grains['osmajorrelease']) + '/$basearch/stable' %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
RemovePreviousDocker:
|
RemovePreviousDocker:
|
||||||
pkg.removed:
|
pkg.removed:
|
||||||
|
|||||||
Reference in New Issue
Block a user