-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Added cache_disk #2521
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
Added cache_disk #2521
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've dropped support for Apache < 2.4 so you can simplify a few things.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a few minor things that we can improve. I added in-line comments. Thanks!
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
97abc68
to
f23e382
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It also look like the apache::mod::disk_cache
is included in manifests/default_mods.pp
for FreeBSD.
I just checked on my FreeBSD box, and it seems the default config does not include the cache_disk
module, so I think we can also remove these lines:
puppetlabs-apache/manifests/default_mods.pp
Lines 72 to 73 in 9f159df
include apache::mod::cache | |
include apache::mod::disk_cache |
(In fact, all these lists seems outdated, maybe some global rework would be great, but that is out-of-scope of this PR)
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
@dploeger can you please rebase your changes on top of the main branch? This should fix CI. From your working directory:
|
7cd13e3
to
03300a0
Compare
@smortex rebasing is done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ARM tests environments seems broken, we can ignore these failures. This looks good to me, thanks!
Hi @smortex, I just merged the latest changes from main to this repo. Since the 2 failing tests do not seem to be related to the changes in this PR, how do we proceed from here? |
@ThomasMinor From my point of view this look okay. The repository require multiple approval before merging so the next move is probably to have some feedback from @puppetlabs maybe? I re-approved the CI run (any change you do to your commit invalidate the test), I expect it to all pass except the 2 known-bad tests which I think we can ignore. |
Hi @smortex, it seems another test joined the club and failed with connection failures. Can I assist solving the problem? |
Seems I looked wrong, 2 fail, one test was skipped. |
@ThomasMinor the Ubuntu ARM tests are broken and mend seems to only run when the PR is from a branch in the repo itself.
Also there is a merge commit in the branch which is not nice. Rebasing on top of master would fix this. These two annoyances are not stoppers for me. |
Deprecates disk_cache
backwards compatibility
Fix parameters to keep backwards compatibility Added tests
Co-authored-by: Romain Tartière <romain@blogreen.org>
Co-authored-by: Romain Tartière <romain@blogreen.org>
Co-authored-by: Romain Tartière <romain@blogreen.org>
Co-authored-by: Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
Co-authored-by: Ewoud Kohl van Wijngaarden <ewoud@kohlvanwijngaarden.nl>
…dule and remove module from bsd defaults
04a4c56
to
8b998bb
Compare
How about a final review, @ekohl & @bastelfreak? |
Summary
This deprecates apache::mod::disk_cache and instead adds support for apache::mod::cache_disk. Also adds parameters to both apache::mod::cache_disk and apache::mod::cache.
Additional Context
Since Apache 2.4 mod_disk_cache is named mod_cache_disk. This officially supports mod_cache_disk and additionally adds configuration options for it. To be backwards compatible, the old module is still available and simply uses the new module.
Checklist
puppet apply
)