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

Catch that mod_authz_default has been removed in Apache 2.4 #1193

Merged
merged 1 commit into from Sep 3, 2015

Conversation

mpdude
Copy link
Contributor

@mpdude mpdude commented Aug 27, 2015

Having it in the server config will prevent the server from starting as the module file cannot be found.

class apache::mod::authz_default(
$apache_version = $::apache::apache_version
) {
if versioncmp($apache_version, '2.4') >= 0 {
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you remove the parameter and just reference $::apache::apache_version directly? I don't think there is any reason for anyone to pass the version in, is there?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've seen this in many other subclasses, for example worker.pp, and simply assumed that there must be a good reason that I have too little Puppet knowledge to understand... So what?

@hunner
Copy link
Contributor

hunner commented Aug 27, 2015

Could you squash this into one commit? Thanks.

Having it in the server config will prevent the server from starting as the module file cannot be found.
@mpdude mpdude force-pushed the no-mod-authz-default-in-2.4 branch from 26311f8 to 059b92b Compare August 27, 2015 18:07
@mpdude
Copy link
Contributor Author

mpdude commented Aug 27, 2015

Squashed.

@mpdude
Copy link
Contributor Author

mpdude commented Aug 31, 2015

ping @hunner

hunner added a commit that referenced this pull request Sep 3, 2015
Catch that mod_authz_default has been removed in Apache 2.4
@hunner hunner merged commit 5fbc078 into puppetlabs:master Sep 3, 2015
@mpdude mpdude deleted the no-mod-authz-default-in-2.4 branch September 3, 2015 17:36
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.

None yet

2 participants