Skip to content
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

Provide correct gpgkey for RHEL family, version > 8. #861

Merged
merged 1 commit into from Mar 17, 2023

Conversation

Joshua-Snapp
Copy link
Contributor

Pull Request (PR) description

This change provides the correct gpgkey for RHEL family operating systems newer than version 8.

The new gpgkey works for both the "zabbix" and the "zabbix_nonsupported" repos.

This was successfully tested on RHEL 9.

This Pull Request (PR) fixes the following issues

Fixes #858

Copy link
Member

@root-expert root-expert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Please add a spec test here to cover the new GPG key

@@ -34,8 +34,13 @@
}
case $facts['os']['family'] {
'RedHat': {
$gpgkey_zabbix = 'https://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-A14FE591'
$gpgkey_nonsupported = 'https://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-79EA5ED4'
if $facts['os']['release']['major'] > '8' {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use versioncmp here

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

versioncmp(fact('os.release.full'), '8.0') >= 0

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we move this along? :-) I tried checking out the PR and updating it but I don't seem to have the permissions to do this.

@Joshua-Snapp Joshua-Snapp force-pushed the fix_el9_repo_gpgkey branch 2 times, most recently from 4e6bf2d to fcbc1d3 Compare March 5, 2023 01:36
@Joshua-Snapp
Copy link
Contributor Author

@root-expert Some of the tests are failing. Can you tell if it has to do with my code? Or are the failures caused by preexisting conditions.

@root-expert
Copy link
Member

@Joshua-Snapp specs failures seems unrelated, something's broken in postgresql's master branch probably.

Please rebase with our master branch before merging.

Zabbix changed their gpgkey for RHEL operating systems newer than version 8. The new key works for both the "zabbix" and "zabbix_nonsupported" repos.
@root-expert root-expert merged commit 52576bb into voxpupuli:master Mar 17, 2023
@evgeni evgeni added the bug Something isn't working label Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RHEL 9 packages fails to install
6 participants