Repository navigation
(MODULES-12060) Remove broken apache::fastcgi::server - #2660
Conversation
|
Hi @jst-cyr , Can you please update the PR? |
f1ab485 to
12169e9
Compare
|
@skyamgarp : I've rebased with latest which will trigger the tests again. |
There was a problem hiding this comment.
🟢 Approval recommended
The narrowly scoped removal matches the reported failure, with no remaining executable dependencies or blocking issues identified.
No open issues 🎉
What changed in this PR
Removes the unusable apache::fastcgi::server defined type, completing the earlier removal of mod_fastcgi support and addressing #2640.
Changes:
- Deletes the defined type that depends on the removed
apache::mod::fastcgiclass. - Removes its leftover EPP and ERB templates.
- Removes the corresponding generated reference documentation.
| File | Description |
|---|---|
templates/fastcgi/server.erb |
Deletes the legacy FastCGI server template. |
templates/fastcgi/server.epp |
Deletes the template used by the removed defined type. |
REFERENCE.md |
Removes the type’s index entry and parameter documentation. |
manifests/fastcgi/server.pp |
Deletes the broken FastCGI server defined type. |
Review effort: Balanced
12169e9 to
15de3e1
Compare
|
NOTE: I have rebased again and triggered off tests again after the previous review. It now matches main branch again. |
|
Hi @jst-cyr , |
15de3e1 to
c4e5cce
Compare
Add a changelog entry for the apache::fastcgi::server removal and strip the now-stale Japanese readme references to the deleted defined type, per review feedback on #2660. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
Sorry for missing those @skyamgarp ! I did the update to the Japanese README, related to this change. There does seem to be an older reference to fastcgi that was unrelated to this PR so I didn't update that, but let me know if you want that removed as well. I made the change to the CHANGELOG file too, but I thought that was usually handled by the release process? |
Hi @jst-cyr , apologies, I forgot that the changelog is handled as part of the release process. Would you mind reverting it? Please go ahead and merge once that’s done. |
Changelog entries are added during release prep, not in individual PRs, per reviewer feedback on #2660. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
@skyamgarp : By reverting that change it invalidates the review and therefore blocks me from merging. So I have made the change and the tests are running again. We will need another review since the previous one is invalidated. Once you have reviewed, please feel free to merge up at that time unless more changes are needed. |
apache::fastcgi::server has included apache::mod::fastcgi since that class was removed in 84940ea (v10.0.0, 2023), so every invocation of the define has unconditionally failed catalog compilation since then. The define also had two independent latent bugs (an unset $socket variable and invalid string concatenation in server.epp) that would have surfaced if the missing class were ever restored. Since mod_fastcgi is dead upstream and unavailable on any currently supported OS, and the define has never worked in any released version since v10.0.0, remove it outright along with its leftover erb/epp templates and REFERENCE.md entry rather than resurrect unmanageable functionality. Fixes #2640 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Add a changelog entry for the apache::fastcgi::server removal and strip the now-stale Japanese readme references to the deleted defined type, per review feedback on #2660. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Changelog entries are added during release prep, not in individual PRs, per reviewer feedback on #2660. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
9e817a1 to
4461661
Compare
Summary
apache::fastcgi::serverhas unconditionally failed catalog compilation in every released version since v10.0.0 (2023), because it doesinclude apache::mod::fastcgi— a class that was deleted in Drop mod_fastcgi support #2267 ("Drop mod_fastcgi support") when mod_fastcgi was dropped as dead upstream software unavailable on any currently supported OS.$socketvariable that's only assigned under a conditional, and invalid+string concatenation intemplates/fastcgi/server.epp(Puppet's+doesn't concatenate strings).apache::fastcgi::server, its leftoverserver.epp/server.erbtemplates, and theREFERENCE.mdentry (regenerated viarake strings:generate:reference).Closes #2640
Test plan
bundle exec rake validatepassesbundle exec rake rubocoppasses