-
Notifications
You must be signed in to change notification settings - Fork 1.1k
support lbmethod modules #2268
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
support lbmethod modules #2268
Conversation
apache::mod::lbmethod_bybusyness is a classthat may have no external impact to Forge modules. apache::mod::lbmethod_byrequests is a classthat may have no external impact to Forge modules. apache::mod::lbmethod_bytraffic is a classthat may have no external impact to Forge modules. apache::mod::lbmethod_heartbeat is a classthat may have no external impact to Forge modules. This module is declared in 174 of 579 indexed public
|
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 would be good to have some basic unit tests for these classes.
2f90dcc
to
dfd4536
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.
Minimal specs in https://github.com/puppetlabs/puppetlabs-apache/tree/main/spec/classes/mod would be nice to have. That way at least the catalog is compiled and verified.
@ekohl Ok, thanks. I'll check it out. |
Is there any way to trigger only my new tests and not the whole test suite which takes over 6 minutes on my workstation? |
@xorpaul You can target specific test files as shown below:
|
@xorpaul Hey, just checking in on how this is progressing |
After upgrading my workstation to Ubuntu 22.04 the bundle commands do not work anymore. I'm getting
Is there a way to make this work with more recent OS versions? |
@xorpaul You could try deleting the gem folder and gemfile.lock file |
@xorpaul I recognize the pain you have. Sadly PDK is in a horrible place regarding modern Ruby support. https://tickets.puppetlabs.com/browse/MODULES-11161 has been open for a long time. I always end up hacking Line 17 in 648332c
Or I just rely on CI to do testing. |
@xorpaul The issue you were having should now be resolved. |
update from upstream
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.
LGTM
@xorpaul Sorry for the wait, this just sort of slipped out of mind.
Thank's for getting the work done.
mod_proxy_balancer
depends on one of these load balancing scheduler algorithms:See https://httpd.apache.org/docs/2.4/mod/mod_proxy_balancer.html
This adds support to include one of them via:
Maybe
apache::mod::lbmethod_byrequests
should even fail if none of these 4 are included?