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

Allow puppetdb plugin to set host and name independently

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: BOLT 1.21.0
    • Component/s: None
    • Release Notes:
      New Feature
    • Release Notes Summary:
      The PuppetDB plugin can now be used to lookup configuration values from PuppetDB facts for the `name`, `uri`, and `config` inventory options for each target.
    • QA Risk Assessment:
      Needs Assessment

      Description

      The puppetdb plugin will only accept a query that returns a certname and then set that certname to be the targets uri. For some users the node is not accessible through the certname so they need to lookup an IP address and set the name and certname of the target separately.

      The plugin will take a config section where each map value is the name of a fact to lookup from PuppetDB. The plugin will gather the list of certnames from the query field as well as all the facts that are used in the config mapping and automatically make a second query to retrieve all of the necessary fact values.

      If a fact isn't set for a node, the config setting for that fact should not be set.

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                lucy Lucy Wyman
                Reporter:
                alex Alex Dreyer
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support