int to string

This commit is contained in:
Iwan Clément
2018-11-09 10:38:50 +00:00
parent b3fa87059e
commit bdfb207eb6

View File

@@ -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: