Describe the Bug
Before v8.0.0, the Apache module would allow me to configure an apache::balancermember with URLs other than http://. For example the URL fcgi:// or unix:/ are both valid previously. However with commit f41251e the data type changed from string to Stdlib::HTTPUrl, which doesn't consider the previously mentioned URLs as valid.
Expected Behavior
URLs such as fcgi:// and/or unix:/ are also valid, and should be allowed.
Steps to Reproduce
- Install v8.0.0 of the apache module
- Configure a balancermember with the following settings:
apache::balancermember { 'FCGI':
balancer_cluster => 'fcgi',
url => 'fcgi://127.0.0.1:9001/',
}
or
apache::balancermember { 'UNIX':
balancer_cluster => 'unix',
url => "unix:/run/some_socket.sock|fcgi://run/some_socket.sock",
}
Environment
- Version 8.0.0
- Platform Ubuntu 20.04