fix(package): Fix gpg.verified detection
This commit is contained in:
@@ -65,7 +65,7 @@ Gitea GPG key is present (fallback):
|
|||||||
- require:
|
- require:
|
||||||
- file: /tmp/gitea-key.asc
|
- 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.
|
# Ensure the following does not run without the key being present.
|
||||||
# The official gpg modules are currently big liars and always report
|
# The official gpg modules are currently big liars and always report
|
||||||
@@ -77,7 +77,7 @@ Gitea key is actually present:
|
|||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
|
|
||||||
{%- if "gpg.verified" not in salt %}
|
{%- if "gpg" not in salt["saltutil.list_extmods"]().get("states", []) %}
|
||||||
|
|
||||||
Gitea is verified:
|
Gitea is verified:
|
||||||
test.configurable_test_state:
|
test.configurable_test_state:
|
||||||
|
|||||||
Reference in New Issue
Block a user