fix(package): Fix gpg.verified detection

This commit is contained in:
jeanluc
2023-01-30 05:48:31 +01:00
parent 7c72b95826
commit 4347400605

View File

@@ -65,7 +65,7 @@ Gitea GPG key is present (fallback):
- require:
- file: /tmp/gitea-key.asc
{%- if "gpg.verified" not in salt %}
{%- if "gpg" not in salt["saltutil.list_extmods"]().get("states", []) %}
# Ensure the following does not run without the key being present.
# The official gpg modules are currently big liars and always report
@@ -77,7 +77,7 @@ Gitea key is actually present:
{%- endif %}
{%- if "gpg.verified" not in salt %}
{%- if "gpg" not in salt["saltutil.list_extmods"]().get("states", []) %}
Gitea is verified:
test.configurable_test_state: