Open kjkeane opened 5 years ago
the salt repo should not require multiple gpg keys, but I did look and it seems multiple gpg keys are supported in yum config files so i'll approve this as a feature request to add multiple gpg key support
This prometheus repo needs multiple key support too so looks like a needed feature.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.
Thank you for updating this issue. It is no longer marked as stale.
I've found that the shibboleth repo generator (https://shibboleth.net/cgi-bin/sp_repo.cgi) has multiple gpgkey entries as well; this would definitely be a useful feature.
MySQL Community repos are also now using multiple gpg keys. The fact that this has been open and not addressed for 3 years is rather frustrating.
It's not quite as pretty as using multiple key values in a List, but if you just specify all the GPG keys you need, space-separated in the same gpgkey=
line, yum figures things out just fine. 🤷
So, the OP's state could just be something like:
saltstack_pkgrepo:
pkgrepo.managed:
- name: saltstack
- humanname: Saltstack Latest Release Channel for RHEL/CentOS $releasever
- baseurl: https://repo.saltstack.com/yum/redhat/$releasever/$basearch/latest
- failovermethod: priority
- enabled: 1
- gpgcheck: 1
- gpgkey: "https://repo.saltstack.com/yum/redhat/$releasever/$basearch/latest/SALTSTACK-GPG-KEY.pub https://repo.saltstack.com/yum/redhat/$releasever/$basearch/latest/base/RPM-GPG-KEY-CentOS-{{ grains['osmajorrelease'] }}"
Sorry, I have been busy, but this issue/request no longer required by my usage. This can be kept open if required, but I no longer have this need.
Make that 5 years...
Description of Issue/Question
Repositories like the Saltstack repository require multiple keys to install packages required by the
salt-minion
,salt-master
and other Saltstack packages.Setup
pkgrepo-saltstack.sls
Output
/etc/yum.repos.d/saltstack.repo
Steps to Reproduce Issue
(Include debug logs if possible and relevant.)
Versions Report
(Provided by running
salt --versions-report
. Please also mention any differences in master/minion versions.)salt-master
salt-minion