Jira (PUP-10315) Replace find_functional_server call with http client

10 views
Skip to first unread message

Josh Cooper (JIRA)

unread,
Feb 25, 2020, 10:26:04 PM2/25/20
to puppe...@googlegroups.com
Josh Cooper created an issue
 
Puppet / Task PUP-10315
Replace find_functional_server call with http client
Issue Type: Task Task
Assignee: Unassigned
Created: 2020/02/25 7:25 PM
Priority: Normal Normal
Reporter: Josh Cooper

The configurer calls the simple status endpoint to determine which server to use. Replace the find_functional_server call with a call to session.route_to(:puppet). For compatibility reasons we still need to push the resolved server host and port onto the context so that calls to Puppet::Util::Connection.determine_server still resolve the same way.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Josh Cooper (JIRA)

unread,
Feb 25, 2020, 10:34:03 PM2/25/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Fix Version/s: PUP 6.14.0

Josh Cooper (JIRA)

unread,
Feb 25, 2020, 10:34:04 PM2/25/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Sprint: Coremunity Hopper

Josh Cooper (JIRA)

unread,
Feb 25, 2020, 10:34:04 PM2/25/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
The configurer calls the simple status endpoint to determine which server to use. Replace the {{find_functional_server}} call with a call to {{session.route_to(:puppet)}}. For compatibility reasons we still need to push the resolved server host and port onto the context so that calls to {{Puppet::Util::Connection.determine_server}} still resolve the same way.

Josh Cooper (Jira)

unread,
Feb 29, 2020, 12:01:03 AM2/29/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Sprint: Coremunity Hopper Platform Core KANBAN
This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)
Atlassian logo

Josh Cooper (Jira)

unread,
Feb 29, 2020, 12:01:03 AM2/29/20
to puppe...@googlegroups.com

Melissa Stone (Jira)

unread,
Mar 4, 2020, 1:29:03 PM3/4/20
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Mar 4, 2020, 1:45:04 PM3/4/20
to puppe...@googlegroups.com
Josh Cooper updated an issue
Change By: Josh Cooper
Release Notes: Bug Fix
Release Notes Summary: Puppet agents use the new HTTP client to resolve the first available server in the server_list setting.

Josh Cooper (Jira)

unread,
Mar 5, 2020, 2:46:03 PM3/5/20
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages