Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-10039

Add serverlist resolver

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 6.12.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Epic Link:
    • Team:
      Coremunity
    • Sprint:
      Platform Core KANBAN
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      Needs Assessment

      Description

      Each resolver should resolve the host and port for a service based on its name and offer multiple candidates.

      • Puppet::HTTP::Resolver::ServerList should implement the Resolver interface
      • The server_list resolver should use Puppett[:server_list to yield servers
      • Should try to make GET request to the simple status endpoint to see if the server is available
      • Only if the HTTP request is 200 do we use that server
      • Default port to masterport if port is omitted from server_list
      • Rescue exceptions, log debug message, and continue next server

      See Puppet::Configurer#find_functional_server

        Attachments

          Activity

            People

            Assignee:
            melissa Melissa Stone
            Reporter:
            josh Josh Cooper
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support