From d755cb412a44b9ed59d33e04b84f749444e9fe6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Bj=C3=B6rklin?= Date: Sat, 22 Jun 2019 08:04:52 +0200 Subject: [PATCH] fix: use gpg2 --- vault/package/gpg/init.sls | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vault/package/gpg/init.sls b/vault/package/gpg/init.sls index a1e6ef6..b5da3cb 100644 --- a/vault/package/gpg/init.sls +++ b/vault/package/gpg/init.sls @@ -16,8 +16,8 @@ vault-package-gpg-pkg-installed: vault-package-gpg-cmd-run-import: cmd.run: - - name: gpg --import /opt/vault/hashicorp.asc - - unless: gpg --list-keys {{ vault.hashicorp_key_id }} + - name: gpg2 --import /opt/vault/hashicorp.asc + - unless: gpg2 --list-keys {{ vault.hashicorp_key_id }} vault-package-gpg-file-managed-signature: file.managed: @@ -28,7 +28,7 @@ vault-package-gpg-file-managed-signature: vault-package-gpg-cmd-run-verify: cmd.run: - - name: gpg --verify /opt/vault/{{ vault.version }}_SHA256SUMS.sig /opt/vault/{{ vault.version }}_SHA256SUMS + - name: gpg2 --verify /opt/vault/{{ vault.version }}_SHA256SUMS.sig /opt/vault/{{ vault.version }}_SHA256SUMS - onchanges: - file: vault-package-install-file-managed - file: vault-package-gpg-file-managed-signature