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

Ensure JSON is an accepted serialization format in various termini/serializers

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 5.0.0
    • None
    • None
    • Hide

      If preferred_serialization_format=json is set on the agent:

      • Agent will download a JSON catalog from the server and apply it successfully
      • Agent will send the report as JSON
      Show
      If preferred_serialization_format=json is set on the agent: Agent will download a JSON catalog from the server and apply it successfully Agent will send the report as JSON
    • Agent
    • 5
    • Agent 2017-03-22, Agent 2017-04-05, Agent 2017-04-19
    • New Feature
    • In Puppet 5, agents will download node information, catalogs, and file metadata in JSON (instead of PSON).
    • Automate

    Description

      This is done in various ways, but here's an example:
      https://github.com/puppetlabs/puppet/blob/master/lib/puppet/transaction/report.rb#L392-L398

      JSON needs to be both added as supported format and preferred over other formats.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              moses Moses Mendoza
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support