Skip to content

fix(http): allow server_list to satisfy missing server validation - #660

Draft
corporate-gadfly wants to merge 1 commit into
OpenVoxProject:mainfrom
corporate-gadfly:relax-service-guard
Draft

corporate-gadfly wants to merge 1 commit into
OpenVoxProject:mainfrom
corporate-gadfly:relax-service-guard

Conversation

@corporate-gadfly

Copy link
Copy Markdown
Contributor

OpenVox recently tightened HTTP service creation checks so that a missing server setting now raises an error. That unintentionally broke valid configurations that rely on server_list instead of a single server.

Update Puppet::HTTP::Service.create_service to treat server_list as a valid source of server configuration when no explicit server argument is provided. This keeps the security-related no-default-server behavior intact while restoring compatibility for agents configured via server_list.

Checklist

I have:

OpenVox recently tightened HTTP service creation checks so that a missing
`server` setting now raises an error. That unintentionally broke valid
configurations that rely on `server_list` instead of a single `server`.

Update `Puppet::HTTP::Service.create_service` to treat `server_list` as a
valid source of server configuration when no explicit server argument is
provided. This keeps the security-related no-default-server behavior intact
while restoring compatibility for agents configured via `server_list`.

Signed-off-by: Corporate Gadfly <haroon.rafique@gmail.com>
Co-Authored-By: GPT-5.4 Mini <noreply@openai.com>
@corporate-gadfly corporate-gadfly linked an issue Sep 8, 2026 that may be closed by this pull request
1 task
@bastelfreak bastelfreak added the bug Something isn't working label Sep 8, 2026
@corporate-gadfly
corporate-gadfly marked this pull request as draft September 8, 2026 19:13
@corporate-gadfly

Copy link
Copy Markdown
Contributor Author

I don't know Ruby that well, so I would prefer to use #659, if possible.

@silug

silug commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Unfortunately I think this will still fail on systems with use_srv_records and srv_domain set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: use of "server_list" (instead of server) throws an error

3 participants