Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-7575

Add CLI flag to pass job-id to puppet agent

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 5.0.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Team:
      Dumpling
    • Story Points:
      2
    • Sprint:
      FF 2017-05-30
    • Release Notes:
      New Feature
    • Release Notes Summary:
      Puppet now accepts an arbitrary string as a Job identifier via {{--job-id}} that is used in catalog requests and reports.
    • QA Risk Assessment:
      Needs Assessment

      Description

      In order to actually thread job-id from orchestrator through the agent to PuppetDB, we need to have a facility to provide the job-id to the agent. As of PUP-7149, the code exists internally in puppet to handle job-id, but there's no way to pass it in from the outside. That ticket was contingent on a refactor of the way pxp-agent interfaces with puppet to start using the API instead of the command line. That work is deferred due to complexity, so the revised solution is to just provide a flag to set job-id on the command line.

        Attachments

          Activity

            People

            Assignee:
            nick Nick Lewis
            Reporter:
            nick Nick Lewis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support