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

Prompt for sensitive data from inventory.

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: BOLT 1.22.0
    • Component/s: None
    • Release Notes:
      New Feature
    • Release Notes Summary:
      A new plugin in inventory v2 allows setting configuration values via a prompt.
    • QA Risk Assessment:
      Needs Assessment

      Description

      In scope:

      • Have a single generalized inventory plugin hook.
      • allow plugins to be used at arbitrary locations in inventory whenever an object with a _plugin key is encountered.
      • implement a prompt plugin that accepts a single name parameter.
      • When update_target is called to update target config, that indicates the target is actually being used and should be prompted. Don't prompt for targets that aren't used.

      Out of scope:

      • worrying about inventory plugins outside of config.(ie for names, targets, facts, or vars)
      • making a decision on whether target-lookups are special.

      nodes:
         - uri: my_node
           config:
             ssh:
               password: { _plugin: prompt, message: "Password for my_node"}d
      groups:
        - name: first_group
          targets: [ .... ]
          config:
             ssh:
               password:
                 _plugin: prompt
                 message: "Password for first group"
      

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                cas.donoghue Cas Donoghue
                Reporter:
                alex Alex Dreyer
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support