Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-1902

Facter 3 should validate that external/custom/executable facts output proper UTF-8

    XMLWordPrintable

Details

    • Improvement
    • Status: Accepted
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • Night's Watch
    • Major
    • 45908,45956,48390
    • 3
    • Needs Assessment

    Description

      Modern versions of Puppet require that the data they serialize to JSON is proper UTF-8. When facts have an incorrect encoding, this currently does not raise an error until it is serialized, at which point it is far too late, and the error message is not helpful.

      Instead, Facter itself should raise an error about this, indicating the specific fact which returned bad data. This will provide better context for debugging.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              branan Branan Riley
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:

                Zendesk Support