repo.pp: use apt::keyring on distros where using keys stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg) is deprecated#975
Open
spicyprogramming wants to merge 5 commits intovoxpupuli:masterfrom
Conversation
…y trusted.gpg keyring (/etc/apt/trusted.gpg) is deprecated
bastelfreak
reviewed
Jul 26, 2024
spec/classes/agent_spec.rb
Outdated
| # frozen_string_literal: true | ||
|
|
||
| require 'spec_helper' | ||
| Package = Puppet::Util::Package |
Member
There was a problem hiding this comment.
This line looks rather odd and I doubt that it's required
Contributor
Author
There was a problem hiding this comment.
That kind of hackish addition was just to keep the code under a reasonable number of characters per line but i guess after the changes to make the linter happy that ship has sailed anyway.
Contributor
|
@spicyprogramming is this still relevant, or was it fixed in some other commit in the meantime? |
Contributor
|
FYI in Debian 13 this module basically breaks without using apt::keyring instead of apt::key so this PR is also required to support Debian Trixie |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request (PR) description
Newer apt based distros have deprecated apt keys stored in /etc/apt/trusted.gpg: installing zabbix agent with this module will result in the following warning:
AFAIK this started happening in Debian >= 12 and Ubuntu >= 22.04
Using
apt::keyringinstead ofapt::keyseems to silence the warning.This Pull Request (PR) fixes the following issues