Files
states/softwares/rpmfusion.sls
2018-11-17 15:38:19 +01:00

8 lines
352 B
Plaintext

{% if grains['os'] == 'Fedora' %}
{% set FEDORAVER=grains['osmajorrelease'] %}
Installons les logiciels:
pkg.installed:
- pkgs:
- "https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-{{FEDORAVER}}.noarch.rpm"
- "https://download1.rpmfusion.org/free/fedora/rpmfusion-nonfree-release-{{FEDORAVER}}.noarch.rpm"
{% endif %}