-
Notifications
You must be signed in to change notification settings - Fork 74
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
incorrect Debian OS origin string #145
Comments
I can confirm this behavior through all of my systems, mainly debian 9 stretch, as well. I quickly checked that this will work on stretch as expected, the suggested switch to package filtering by codename sounds like a good idea:
If we don't do this, it will break again in the future. After we have all confirmations, we can adjust the already existing structure in Also if you want to find out about the naming of an apt source, information can be found in Example:
Edit: Jessie seems to carry the codename too:
Buster should also be safe:
|
…based filter for future proofing voxpupuli#145
…based filter for future proofing voxpupuli#145
…based filter for future proofing voxpupuli#145
The attached PR should fully cover this issue and also move to codename based filtering where possible (jessie, stretch, buster), tests have been adapted, and some validation for codename based filtering provided in my comment above. Not sure if there is any process for me to follow now for the PR to get reviewed/merged? |
…origin-string Bugfix/voxpupuli#145 debian os origin string
…string * fix: debian origins since archive name changes, moved to codename …
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Include the unattended upgrades class without additional parameters.
What are you seeing
https://github.com/voxpupuli/puppet-unattended_upgrades/blob/v4.0.0/manifests/params.pp#L71
This line sets the
origins
for Debian 9 stretch toorigin=Debian,archive=stable,label=Debian-Security
. However, as of July 2019, Debian 9 stretch is no longer 'stable' but 'oldstable' and Debian 10 buster is now stable.What behaviour did you expect instead
The origin string for Debian 9 stretch should be
origin=Debian,archive=oldstable,label=Debian-Security
Output log
N/A
Any additional information you'd like to impart
I believe this is a simple fix of changing the names in the
manifests/params.pp
file. However, one may want to consider using the distributioncodename
in the string which may be more resistant to changes, i.e., when Debian upgrades what is considered 'stable'.See these commits for the last time this changed (2017): c20f1fc & 5fe39f8; also PR #102 .
The text was updated successfully, but these errors were encountered: