From 3226b4113c232367975110d6c8b7b97af39c1f93 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Sun, 22 Jan 2023 20:55:56 +0100 Subject: [PATCH] Remove release from RPM key check Release tag can be different from machine to machine. Checking for the version tag should be good enough. Signed-off-by: Georg Pfuetzenreuter --- salt/common/suse.sls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/common/suse.sls b/salt/common/suse.sls index 984c25a..6506385 100644 --- a/salt/common/suse.sls +++ b/salt/common/suse.sls @@ -19,7 +19,7 @@ include: libertacasa_rpm_key: cmd.run: - name: rpm --import {{ repokey }} - - unless: rpm -q --quiet gpg-pubkey-f8722274-5f7a4d7b + - unless: rpm -q --quiet gpg-pubkey-f8722274 libertacasa_rpm_repository: pkgrepo.managed: