Modification de l'ajout des repos en fonction du kernel PVE ou non
This commit is contained in:
1 parent
4e030b9b74
commit
93963699db
1 file changed
+7
-2
@@ -1,4 +1,9 @@
|
||||
{% if grains['os_family'] == 'Debian' %}
|
||||
include:
|
||||
- linux.Debian.Repos.Jitsi
|
||||
{% set MYKERNEL = salt['grains.get']('kernelrelease') %}
|
||||
{% if 'pve' in MYKERNEL %}
|
||||
# Do Nothing
|
||||
{% else %}
|
||||
include:
|
||||
- linux.Debian.Repos.Jitsi
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
Reference in new issue
Block a user