int to string

This commit is contained in:
Iwan Clément
2018-11-17 16:07:01 +01:00
parent add1297d79
commit 48229396b1

View File

@@ -3,8 +3,8 @@
{% if grains['os'] == 'Fedora' %} {% if grains['os'] == 'Fedora' %}
{% set FEDORAVER=grains['osmajorrelease'] %} {% set FEDORAVER=grains['osmajorrelease'] %}
{% set URLROOT='https://download1.rpmfusion.org'%} {% set URLROOT='https://download1.rpmfusion.org'%}
{% set URLFREE=URLROOT + '/free/fedora/rpmfusion-free-release-' + FEDORAVER + '.noarch.rpm' %} {% set URLFREE=URLROOT + '/free/fedora/rpmfusion-free-release-' + FEDORAVER|string + '.noarch.rpm' %}
{% set URLNONFREE=URLROOT + '/nonfree/fedora/rpmfusion-nonfree-release-' + FEDORAVER + '.noarch.rpm' %} {% set URLNONFREE=URLROOT + '/nonfree/fedora/rpmfusion-nonfree-release-' + FEDORAVER|string + '.noarch.rpm' %}
Installons les repos RPM Fusion : Installons les repos RPM Fusion :
pkg.installed: pkg.installed:
- sources: - sources: