qusal/salt/sys-pgp/install-client-gpgme-c.sls
Ben Grande b03ceb500c
feat: add pinentry and gpgme to sys-pgp formula
GPGME can be relevant for client applications such as Thunderbird.
Pinentry can be relevant for the server side, but it is way less tested
in split-gpg2 and discouraged to be used.

For: https://github.com/ben-grande/qusal/issues/83
2025-01-08 16:48:04 +01:00

31 lines
621 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': ['libgpgme11'],
},
'RedHat': {
'pkg': ['gpgme'],
},
}.get(grains.os_family) -%}
"{{ slsdotpath }}-client-installed-os-specific-gpgme-c":
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 -%}