Uploaded image for project: 'Puppet Task Runner'
  1. Puppet Task Runner
  2. BOLT-938

Account for more than one entry in bolt.yaml puppetdb.server_urls parameter

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: BOLT 1.9.0
    • Component/s: None
    • Labels:
    • Release Notes:
      Enhancement
    • Release Notes Summary:
      Bolt will now try to connect to all configured puppetdb server_urls before failing.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Bolt allows you to configure connection to PuppetDB in its bolt.yaml file. E.g.

      bolt.yaml

      ---
      puppetdb:
        server_urls: ["pdb1.tld", "pdb2.tld"]
      

      However, only the first element of the server_urls array is respected.

      We should implement a fall-back algorithm for using additional urls when the first url fails. The fall-back algorithm can be cribbed from the puppetdb terminus implementation.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  alex Alex Dreyer
                  Reporter:
                  reid Reid Vandewiele
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: