Skip to content

Apache:Balancermember configured data type no longer allows previously valid settings #2285

@canth1

Description

@canth1

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

  1. Install v8.0.0 of the apache module
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions