Délocalisation de jitsi comme logiciel à installer
This commit is contained in:
@@ -1,14 +1,8 @@
|
|||||||
{% if grains['os_family'] == 'Debian' %}
|
{% if grains['os_family'] == 'Debian' %}
|
||||||
{% set MYKERNEL = salt['grains.get']('kernelrelease') %}
|
|
||||||
Installation des paquets pour toute Debian:
|
Installation des paquets pour toute Debian:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- pkgs:
|
- pkgs:
|
||||||
- p7zip
|
- p7zip
|
||||||
- dnsutils
|
- dnsutils
|
||||||
- ethtool
|
- ethtool
|
||||||
{% if 'pve' in MYKERNEL %}
|
|
||||||
# Do Nothing
|
|
||||||
{% else %}
|
|
||||||
- jitsi-meet
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{% if grains['os_family'] == 'Debian' %}
|
{% if grains['os_family'] == 'Debian' %}
|
||||||
include:
|
include:
|
||||||
- linux.Debian.DebianFamilyRepo
|
# - linux.Debian.DebianFamilyRepo
|
||||||
- linux.Debian.DebianFamilyPackage
|
- linux.Debian.DebianFamilyPackage
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
18
softwares/jitsi.sls
Normal file
18
softwares/jitsi.sls
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{% if grains['os_family'] == 'Debian' %}
|
||||||
|
{% set MYKERNEL = salt['grains.get']('kernelrelease') %}
|
||||||
|
{% if 'pve' in MYKERNEL %}
|
||||||
|
# Do Nothing
|
||||||
|
{% else %}
|
||||||
|
jitsi stable Repository:
|
||||||
|
pkgrepo.managed:
|
||||||
|
- name: deb https://download.jitsi.org stable/
|
||||||
|
- file: /etc/apt/sources.list.d/jitsi-stable.list
|
||||||
|
- key_url: https://download.jitsi.org/jitsi-key.gpg.key
|
||||||
|
- enabled: 1
|
||||||
|
|
||||||
|
Installation des paquets pour toute Debian:
|
||||||
|
pkg.installed:
|
||||||
|
- pkgs:
|
||||||
|
- jitsi-meet
|
||||||
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
Reference in New Issue
Block a user