-
Notifications
You must be signed in to change notification settings - Fork 194
Puppet upgrade breaks APT #755
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
Comments
Also running into this issue. Previously Unclear why this module and the puppet agent official package cannot be made to co-exist with each other. Not sure how this was not tested for either. |
I can reproduce as well (installed 7.34.0 and attempted to upgrade to latest puppet8 on apt.puppet.com):
Our options seem to be:
Also the old apt.puppet.com distribution server won't be receiving updates, due to https://www.puppet.com/products/puppet-core. Release packages on the new distribution do correctly contain
And the |
Hi,
IMO yes I also think it doesn't make sense to use the puppet*-release packages and the puppetlabs/puppet_agent module. My profiles has this: # remove the old repo setup
package { ['puppet7-release', 'puppet8-release', 'puppet-release']:
ensure => 'absent',
}
# purging the old package won't properly remove the old repo setup
-> file { ['/etc/apt/sources.list.d/puppet7-release.list', '/etc/apt/sources.list.d/puppet8-release.list', '/etc/apt/sources.list.d/puppet-release.list']:
ensure => 'absent',
}
# configure the puppet repo
-> class { 'puppet_agent':
package_version => $package_version, # ensures that all agents run the same version as the puppetserver
collection => $collection,
service_names => [],
}
contain puppet_agent It would be great if puppetlabs/puppet_agent could take care of purging the puppet*-release packages. |
Describe the Bug
So far, we ran puppet 7 on our machines. Since it's going EOL soon, we are in the process of migrating to puppet8.
We use this module to automatically update the agents to puppet 8. While this works, we get this error:
And sometimes:
When running APT, we see this:
We had a look at the lists in
/etc/apt/sources.list.d/
and found apuppet7-release.list
and thepc_repo.list
. On systems where we manually upgraded puppet to version 8 we also hadpuppet8-release.list
. The release lists come from the release packages we use to initially install puppet on our machines (as recommended in the official docu https://www.puppet.com/docs/puppet/8/install_puppet.html). The release lists however do not contain a link to the asc file to sign it, the new pc_repo list does. Removing the release lists "solves" the issue, but is not elegant. We have them on every machine and they are created using the official way to install puppet.Our config looks like this:
The puppet8-release.list looks like this:
pc_repo.list:
cat /etc/apt/sources.list.d/pc_repo.list
Curiously, on systems running puppet7, the pc_repo.list looks like this:
and does not include the signing key.
Am I missing something?
Should we install puppet differently in the future?
Shouldn't the puppet release deb create the file with link to the signing key?
Expected Behavior
The puppet upgrade should not break APT
Steps to Reproduce
Steps to reproduce the behavior:
Environment
Additional Context
The text was updated successfully, but these errors were encountered: