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

PuppetDB Terminus doesn't use dns name, uses hostname

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PDB module-5.0.0, PDB 3.2.2
    • Fix Version/s: PDB module-5.1.0, PDB 3.2.4
    • Component/s: Module
    • Labels:
      None
    • Environment:

      Ubuntu 14.04 LTS with puppet repo, Puppet 4.3.1

    • Template:
    • Story Points:
      1
    • Sprint:
      PuppetDB 2016-01-27

      Description

      i want to install PuppetDB on the Master as this tutorial says:

      https://docs.puppetlabs.com/puppetdb/latest/install_via_module.html

      so i used the module:

      https://forge.puppetlabs.com/puppetlabs/puppetdb

      the option puppetdb_server is described as:
      The dns name or ip of the puppetdb server (defaults to the certname of the current node).

      but i think it uses the host name of the machine!

      the cert would be in my case for "puppet.basecom.de" but i get the error:

      Notice: Unable to connect to puppetdb server (https://ppt.cust.basecom.de:8081): Server hostname 'ppt.cust.basecom.de' did not match server certificate; expected one of puppet.basecom.de, DNS:puppet.basecom.de, DNS:puppet

      "ppt.cust.basecom.de" is the host name of the machine.

      i solved it by setting it manually like:

        class { 'puppetdb::master::config':
          puppetdb_server => 'puppet.basecom.de',
      

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                russell.mull Russell Mull
                Reporter:
                dkl vrere
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: