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

Wrap mod_security directives in an IfModule #1423

Merged
merged 1 commit into from Jun 30, 2016

Conversation

kimor79
Copy link
Contributor

@kimor79 kimor79 commented Apr 7, 2016

No description provided.

@hunner
Copy link
Contributor

hunner commented Apr 14, 2016

Instead of casing this out (and thus potentially making it do nothing) could you cause apache::vhost to include apache::mod::security if the parameters that need it are passed? https://github.com/kimor79/puppetlabs-apache/blob/wrap_vhost_mod_security/manifests/vhost.pp#L988

@kimor79
Copy link
Contributor Author

kimor79 commented Apr 14, 2016

My use case is I have a vhost which is added "everywhere" but mod_security is only enabled for certain roles. When mod_security is enabled I don't want it enabled for that vhost but that vhost shouldn't need to pull in mod_security just to disable it.

@tphoney
Copy link
Contributor

tphoney commented Jun 17, 2016

@hunner does this address your concern ?

@hunner hunner merged commit c7ab1a8 into puppetlabs:master Jun 30, 2016
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

4 participants