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

Add CLI flag to pass job-id to puppet agent

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 5.0.0
    • None
    • None
    • New Feature
    • Puppet now accepts an arbitrary string as a Job identifier via {{--job-id}} that is used in catalog requests and reports.
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support