mirror of
https://github.com/ben-grande/qusal.git
synced 2025-08-05 04:34:24 -04:00
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
This commit is contained in:
parent
31a606e752
commit
b03ceb500c
14 changed files with 310 additions and 6 deletions
30
salt/sys-pgp/install-client-gpgme-python.sls
Normal file
30
salt/sys-pgp/install-client-gpgme-python.sls
Normal file
|
@ -0,0 +1,30 @@
|
|||
{#
|
||||
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': ['python3-gpg'],
|
||||
},
|
||||
'RedHat': {
|
||||
'pkg': ['python3-gpg'],
|
||||
},
|
||||
}.get(grains.os_family) -%}
|
||||
|
||||
"{{ slsdotpath }}-client-installed-os-specific-gpgme-python":
|
||||
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 -%}
|
Loading…
Add table
Add a link
Reference in a new issue