-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(debian): use repository keyring instead of key_id #322
feat(debian): use repository keyring instead of key_id #322
Conversation
Also, fix tests for the different RedHat's family members
f4684da
to
7bba14a
Compare
For suse you need |
02f9127
to
a18cb16
Compare
I checked the code before replacing it by With this state sls file generated by the formula: postgresql-repo:
pkgrepo.managed:
- baseurl: "https://download.postgresql.org/pub/repos/zypp/13/suse/sles-$releasever-$basearch"
- gpgautoimport: True
- gpgcheck: 1
- gpgkey: "https://download.postgresql.org/pub/repos/zypp/13/suse/sles-$releasever-$basearch/repodata/repomd.xml.key"
- humanname: "PostgreSQL 13 $releasever - $basearch"
- name: "pgdg-sles-13"
- require:
- pkg: postgresql-pkg-deps you get this
(notice that both However,
|
a18cb16
to
43b4329
Compare
Thanks, @javierbertoli -- merged. |
🎉 This PR is included in version 0.44.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Use to remove duplicate code introduced in: * saltstack-formulas/nginx-formula#289 * saltstack-formulas/postgres-formula#322 * saltstack-formulas/docker-formula#312
PR progress checklist (to be filled in by reviewers)
What type of PR is this?
Primary type
[build]
Changes related to the build system[chore]
Changes to the build process or auxiliary tools and libraries such as documentation generation[ci]
Changes to the continuous integration configuration[feat]
A new feature[fix]
A bug fix[perf]
A code change that improves performance[refactor]
A code change that neither fixes a bug nor adds a feature[revert]
A change used to revert a previous commit[style]
Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)Secondary type
[docs]
Documentation changes[test]
Adding missing or correcting existing testsDoes this PR introduce a
BREAKING CHANGE
?No.
Related issues and/or pull requests
Describe the changes you're proposing
Debian family is deprecating the use of GPG keys (managed through
apt-key
) in favor ofkeyrings
.This PR adds the repository
keyring
when installing from the official repository, andrewrites the sources.list file accordingly.
Pillar / config required to test the proposed changes
Debug log showing how the proposed changes work
Documentation checklist
README
(e.g.Available states
).pillar.example
.Testing checklist
state_top
).Additional context