-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Drop support and compatibility for Debian < 9 and Ubuntu < 16.04 #2123
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
Conversation
Let me start the conversation internally about dropping support for Debian < 9 and Ubuntu < 16.04. Now that Puppet 5 is officially EOL'd, those platforms fall under that umbrella too. Given Debian 8 is still officially supported on Puppet 6, I'm not sure we can make any moves to deprecate any of that functionality. |
Let me know if I should submit the Ubuntu 10.04 removal separate. That feels like a safe one to remove at this point. I can also take a look at removing Debian < 8. Another thing to note is that Ubuntu 16.04 standard support will go EOL in April. |
Thanks @ekohl - yeah, if you could, putting up a separate PR for the removal of Ubuntu 10.04 would be good. We can get that in fairly quickly. |
I did split the commits a bit. I'd be interested to know what level of support is desired. The commit < 8 and < 16.04 felt safe, but it looks like 14.04 still has LTS support until 2022. Would you mind taking a look at the commits and stating what level of support is desired? |
@ekohl Apologies but it looks like we're set to keep Debian 8 support for a while longer as it was included in the last LTS agent release. |
6458f6e
to
d2be2a8
Compare
I've rebased this and submitted #2188 to at least get the preparation out. After that's merged, I can submit the first commit as a PR. It should be safe to drop Debian < 8 and 14.04 at least. |
I've submitted #2189 as a first PR. |
Rebased to resolve conflicts. |
@ekohl Apologies but when I state yesterday that we could get this merged I was on my way out and did not recognize that this PR included the dropping of Ub16.04 which is still currently supported by the puppet agent and as such must continue to be supported by our modules. |
This is the same test case as 'with magic_file => /tmp/Debian_magic'.
I dropped the Ubuntu 16.04 removal commit and also updated the tests to default to Debian 11 instead of 8. Also cleaned up some other testing code. |
@ekohl Look's like we're still getting some spec test failures |
Very likely. I can't run tests locally:
I can't find the JIRA issue that @bastelfreak opened right now, but it makes contributing to PDK-based Puppet modules very painful. Which is also why puppetlabs/puppetlabs-xinetd#122 has been stuck. To verify puppetlabs/puppetlabs-xinetd#121 I actually rewrote the module to use Voxpupuli's module layout. |
The issue for the missing gems: https://tickets.puppetlabs.com/browse/MODULES-11161 (plus all linked issues) |
@ekohl Took a quick look at the spec test failures and did some fixes on them, a few package names had been changed between Deb 8 and 11 and that was throwing the failures. |
I pushed another one that was still missing. I get the impression that the whole proxy_html mod was dropped in Debian 9 because I can't find the package. Or is it part of another package? |
@ekohl From what I can find the https://www.raspberrypi.org/forums/viewtopic.php?t=192945#p1209696 |
Previously all test suites ran with Debian 8 facts. This switches it to Debian 11, which is the latest supported version.
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.
Everything LGTM so gonna go ahead and merge :)
Apologies for the wait on this
Just updated the title of the pr so it's clear when displayed within the changelog |
This also drops Ubuntu < 16.04 (14.04 was in metadata). Shouldn't that also be in the message? |
Ah, I see where I went wrong sorry. Yeh this is all good |
This is a draft PR to push my local code. It includes #2110. The idea is to keep the codebase smaller. Maybe this is too soon, but I'd like some feedback.
Alternatives are to drop Debian < 8 and Ubuntu < 16.04.