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-3744) Process $crs_package before $modsec_dir #1563

Merged
merged 2 commits into from
Dec 12, 2016

Conversation

EmersonPrado
Copy link
Contributor

Class apache::mod::security created 2 files with conflicting configs:
/etc/httpd/modsecurity.d/modsecurity_crs_10_config.conf
/etc/httpd/modsecurity.d/security_crs.conf

File[$modsec_dir] purges this directory and creates latter file
but Package[$crs_package] creates former file in the same directory

This change makes the package be managed before the directory,
so the former file is guaranteed to be purged

Emerson Prado added 2 commits December 1, 2016 13:04
Class apache::mod::security created 2 files with conflicting configs:
/etc/httpd/modsecurity.d/modsecurity_crs_10_config.conf
/etc/httpd/modsecurity.d/security_crs.conf

File[$modsec_dir] purges this directory and creates latter file
but Package[$crs_package] creates former file in the same directory

This change makes the package be managed before the directory,
so the former file is guaranteed to be purged
@bmjen bmjen merged commit 4589467 into puppetlabs:master Dec 12, 2016
@EmersonPrado EmersonPrado deleted the MODULES-3744 branch December 14, 2016 14:19
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