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

Re-add the puppet facts upload face and REST facts terminus

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 5.5.0
    • None
    • None
    • Hide

      Beaker test exercises "puppet fact upload" writing to puppetserver's /opt/puppetlabs/server/puppetserver/data/yaml or server_data directories.

      Show
      Beaker test exercises "puppet fact upload" writing to puppetserver's /opt/puppetlabs/server/puppetserver/data/yaml or server_data directories.
    • Platform Core
    • Platform Core KANBAN
    • New Feature
    • Hide
      This restores the ability to upload facts to puppet server and masters, along with the `puppet facts upload` command, which is important for direct puppet workflows when agents always run off of cached catalogs and need an alternate mechanism to upload facts. It also updates the default legacy auth.conf to allow agents to only upload their own facts.
      Show
      This restores the ability to upload facts to puppet server and masters, along with the `puppet facts upload` command, which is important for direct puppet workflows when agents always run off of cached catalogs and need an alternate mechanism to upload facts. It also updates the default legacy auth.conf to allow agents to only upload their own facts.
    • Manual

    Description

      This ticket tracks the agent-side work of PUP-7779 "Re-implement `puppet facts upload`".

      In order to allow facts to be uploaded from the agent to the server, we need to re-add two components that were removed in Puppet 4.0 as part of PUP-2560:

      • The Puppet::Node::Facts::Rest indirector terminus which translates save requests for facts into REST API calls that send a PUT payload to the Puppet Server.
      • The upload action of the puppet facts face. This action loads facts from the facter terminus and then saves then using the rest terminus.

      Out of scope:

      The implementation removed in PUP-2560 included some settings related to the "inventory service". These settings should not be restored and puppet facts upload should instead the server specified by the agent section of puppet.conf.

      Attachments

        Issue Links

          Activity

            People

              eric.delaney Eric Delaney
              chuck Charlie Sharpsteen
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support