Skip to content
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

(GH-iac-334) Remove code specific to unsupported OSs #2223

Merged

Conversation

david22swan
Copy link
Member

@david22swan david22swan commented Mar 25, 2022

Unsure of whether this should be merged now as the last release backwards incompatible and this will make two in a row.
In the event that it is we should ensure that as many of the community prs are brought into it as possible.

@puppet-community-rangefinder
Copy link

apache::mod::fastcgi is a class

that may have no external impact to Forge modules.

apache::mod::security is a class

that may have no external impact to Forge modules.

apache::mpm is a type

that may have no external impact to Forge modules.

apache::params is a class

Breaking changes to this file WILL impact these 7 modules (exact match):
Breaking changes to this file MAY impact these 4 modules (near match):

This module is declared in 174 of 579 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

@ekohl
Copy link
Collaborator

ekohl commented Mar 25, 2022

Unsure of whether this should be merged now as the last release backwards incompatible and this will make two in a row.

I think we should at least look at #2202. Either we should move forward or (my preference) we should remove the warnings.

@david22swan
Copy link
Member Author

I would not be opposed to removing the warning, highly doubt the plan is going to be moved forward at this point as everyone involve with it is now gone to the best of my knowledge

@LukasAud LukasAud merged commit d28446b into puppetlabs:main Mar 25, 2022
Copy link
Collaborator

@ekohl ekohl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like I'm too late (had a review, forgot to submit), but you introduced a regression.

@@ -98,17 +98,13 @@
}

if $mpm == 'prefork' {
if ( ( $::operatingsystem == 'Ubuntu' and versioncmp($::operatingsystemrelease,'18.04') >= 0 ) or $::operatingsystem == 'Debian' ) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a change for non-Debian OSes. I think a closer match would be if $facts['osfamily'] == 'Debian'.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey! Good spot. We will investigate asap!

Copy link
Member Author

@david22swan david22swan Mar 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ekohl The change should be fine as it is within the Debian section of the case $::osfamily started on line 50.
So it shouldn't effect any non Debian os's

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah good point. I'm not used to such long if/else. I just wondering if it should be restructured.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's see what you think about #2227

@david22swan david22swan deleted the GH-iac-334/main/remove_compatible_code branch April 5, 2022 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants