mirror of
https://github.com/ben-grande/qusal.git
synced 2025-01-31 01:23:20 -05:00
36 lines
777 B
Plaintext
36 lines
777 B
Plaintext
|
{#
|
||
|
SPDX-FileCopyrightText: 2025 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
||
|
|
||
|
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 -%}
|