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

Re-implement `puppet facts upload` and associated server endpoint

    Details

    • Type: Epic
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 5.5.0
    • Component/s: None
    • Labels:
    • Epic Name:
      Re-enable `puppet facts upload`
    • Template:
    • Team/s:
      Platform Core
    • Sub-team:
    • CS Priority:
      Major
    • CS Frequency:
      4 - 50-90% of Customers
    • CS Severity:
      3 - Serious
    • CS Business Value:
      5 - $$$$$$
    • CS Impact:
      Having fresh facts is only going to become higher priority as tasks become more popular and users get more experience with PQL for targeting them. This is also a big enabler of the direct puppet workflow.
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      Needs Assessment

      Description

      In PUP-1874 and PUP-2560 we unwisely removed a useful bit of functionality: the ability to upload facts to the master independent of catalog request. The implementation talked to a deprecated API, and what we should have done was to improve the server API, not remove the functionality completely. Users find this extremely useful (see PUP-5934) and it's an important stepping stone on the road to asynchronous catalog compilation in Direct Puppet.

      This ticket should track the re-implementation of this functionality. There are two parts:
      1. a command line executable which, when run, gathers facts and uploads them to the puppet master
      2. an endpoint on the puppet-server which receives the facts and submits them to PuppetDB. This endpoint should be subject to tk-auth rules that permit a node to replace its own facts. (The documented workaround of having endpoints upload their facts directly to puppetdb is unsuitable because most sites do not expose the puppetdb API to endpoints at all.)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chuck Charlie Sharpsteen
                Reporter:
                eric.sorenson Eric Sorenson
              • Votes:
                6 Vote for this issue
                Watchers:
                23 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support