[Feature Request] pkgrepo should accept multiple key IDs for yum #67534
Replies: 9 comments
-
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 |
Beta Was this translation helpful? Give feedback.
-
This prometheus repo needs multiple key support too so looks like a needed feature. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
Thank you for updating this issue. It is no longer marked as stale. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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 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'] }}" |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
Make that 5 years... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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
Beta Was this translation helpful? Give feedback.
All reactions