From 48229396b1387b1bebff7e7da4795d2b4bb4580d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iwan=20Cl=C3=A9ment?= Date: Sat, 17 Nov 2018 16:07:01 +0100 Subject: [PATCH] int to string --- softwares/rpmfusion.sls | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/softwares/rpmfusion.sls b/softwares/rpmfusion.sls index a4e6fa9..90a570c 100644 --- a/softwares/rpmfusion.sls +++ b/softwares/rpmfusion.sls @@ -3,8 +3,8 @@ {% if grains['os'] == 'Fedora' %} {% set FEDORAVER=grains['osmajorrelease'] %} {% set URLROOT='https://download1.rpmfusion.org'%} -{% set URLFREE=URLROOT + '/free/fedora/rpmfusion-free-release-' + FEDORAVER + '.noarch.rpm' %} -{% set URLNONFREE=URLROOT + '/nonfree/fedora/rpmfusion-nonfree-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|string + '.noarch.rpm' %} Installons les repos RPM Fusion : pkg.installed: - sources: