{# SPDX-FileCopyrightText: 2025 Benjamin Grande M. S. SPDX-License-Identifier: AGPL-3.0-or-later #} {% if grains['nodename'] != 'dom0' -%} include: - utils.tools.common.update {% set pkg = { 'Debian': { 'pkg': ['libqgpgme15'], }, 'RedHat': { 'pkg': {% if grains.os == 'Fedora' and grains.osmajorrelease | int >= 40 %} ['qgpgme-qt5', 'qgpgme-qt6'], {% else %} ['qgpgme'], {% endif %} }, }.get(grains.os_family) -%} "{{ slsdotpath }}-client-installed-os-specific-gpgme-qt": pkg.installed: - require: - sls: utils.tools.common.update - install_recommends: False - skip_suggestions: True - setopt: "install_weak_deps=False" - pkgs: {{ pkg.pkg|sequence|yaml }} {% endif -%}