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

MODULES-5649 Do not install mod_fastcgi on el7 #1701

Merged
merged 1 commit into from
Sep 27, 2017

Conversation

tphoney
Copy link
Contributor

@tphoney tphoney commented Sep 27, 2017

No description provided.

@@ -106,7 +106,11 @@
default => 'mod_authz_ldap',
},
'authnz_pam' => 'mod_authnz_pam',
'fastcgi' => 'mod_fastcgi',
'fastcgi' => $::apache::version::distrelease ? {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Wouldn't this produce undefined results on other distros like Debian?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

You're right, my bad. It's not an early morning but it does feel like it ...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

its raining and miserable here, it isnt good. Thanks for looking over the PR. Much appreciated.

@@ -1,6 +1,8 @@
class apache::mod::fastcgi {
include ::apache

if ($::osfamily == 'Redhat' and $::operatingsystemrelease > '6') {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this use versioncmp?

@@ -1,6 +1,8 @@
class apache::mod::fastcgi {
include ::apache

if ($::osfamily == 'Redhat' and $::operatingsystemrelease > '6') {
fail("mod_fastcgi is no longer supported on el7 and above.")
Copy link
Collaborator

Choose a reason for hiding this comment

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

I do wonder if other distros will deprecate it too and if there should be a more generalized check but I think this could be fine for now and refactored later.

@hunner hunner merged commit 6c1ed75 into puppetlabs:master Sep 27, 2017
hunner added a commit that referenced this pull request Sep 27, 2017
MODULES-5649 Do not install mod_fastcgi on el7
@hunner hunner added the bugfix label Dec 6, 2017
cegeka-jenkins pushed a commit to cegeka/puppet-apache that referenced this pull request Jul 15, 2020
MODULES-5649 Do not install mod_fastcgi on el7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants