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

Sanitize output of puppet facts application

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Template:
    • Sub-team:
    • Team:
      Night's Watch
    • Story Points:
      1
    • Sprint:
      ready for triage
    • Release Notes:
      Not Needed
    • QA Risk Assessment:
      Needs Assessment

      Description

      The output is an Puppet::Node::Facts object that contains some ‘noise’  instead of  just a list of facts: 

      { 
      "name": "node name the facts is for", 
      "timestamp": "when the facts were retrieved", 
      "expiration": "time when another puppet run will happpend",
       "values": { ..... these are the actual available facts .... }
      }
      

       

      In order to provide the same functionality as the current facter -p command, there is a need for some sanitization of the extra metadata (node name, timestamp and expiration) at the puppet facts application layer if facter terminus is used.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            oana.tanasoiu Oana Tanasoiu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support