-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Update APT GPG Key and ensure apt::source is before package #175
Conversation
a03d163
to
b1b0cbb
Compare
This will have to be a major version bump |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You could get rid of the file resource for lldpd.asc
here, and instead let apt::source
handle it by passing a key
hash with a content
parameter.
Some time ago I kinda "fixed" the same in puppet-caddy: https://github.com/voxpupuli/puppet-caddy/blob/91efe40e888e8f191611eaa3274c9dcdc35004b2/manifests/install/repo.pp#L23 |
|
I know, I'm suggesting this: https://github.com/puppetlabs/puppetlabs-apt/blob/5e34dcb822ae64c81e9aa8f10e048f4ddd59d525/manifests/source.pp#L207 |
Also ensure apt:ssource comes before package installation
Pull Request (PR) description
apt update
has been failing for a while because the old key expired and the repo is now signed with a new key.It isn't possible to keep the key updated by downloading from the repository every time puppet runs - the only way to do that is to have the key in puppet itself so it can make sure it is up-to-date.