Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-3071

log a more helpful message when the old-style puppetdb.conf is used

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PDB 4.3.0
    • Component/s: None
    • Labels:
    • Template:
    • Team:
      Dumpling
    • Story Points:
      1
    • Sprint:
      FF 2016-10-19, FF 2016-11-02

      Description

      Prior to 3.0 puppetdb.conf took entries for server/port. When we implemented terminus failover we changed that to server_urls and deprecated the old config. Eventually it was retired.

      Now, when you use the old style config PDB doesn't read a server and instead falls back to the default name 'puppetdb'. This causes a confusing message in the server log because as far as the user knows, they've correctly specified the PDB host as something other than puppetdb.

      Depending on what our options are, we should either crash puppetserver or watch for the old config style and log a message explicitly mentioning the new one.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                wyatt Wyatt Alt
              • Votes:
                2 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: