Uploaded image for project: 'Puppet Server'
  1. Puppet Server
  2. SERVER-2392

CA CLI does not respect server_list

    XMLWordPrintable

Details

      • CA CLI contacts the right server when server_list is in use
    • Froyo
    • Needs Assessment
    • Enhancement
    • The `puppetserver ca` tool will now respect the `server_list` setting in puppet.conf for those users that have created their own high availability configuration using that feature.
    • Needs Assessment

    Description

      Currently the CA CLI gem will only check the server setting for the name of the CA server. In an HA configuration, server_list is configured instead of server, so the gem does not connect to the right master (it attempts to contact the default "puppet"). When making requests, the gem should instead prefer server_list if it is set, and server otherwise, just like Puppet does.

      Because the CA is always on the primary master, and the primary master is always first in the list (during failover and promotion the order is updated to reflect the new primary), it should be safe for us to just check the first element, and not do any fallback checking.

      Attachments

        Activity

          People

            justin Justin Stoller
            maggie Maggie Dreyer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support