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

Default to JSON when sending facts and reports

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • PUP 5.0.0
    • None
    • None
    • Hide

      Facts and reports are submitted as JSON by default, as visible using --http_debug. If preferred_serialization_format=pson, then submit using PSON.

      Show
      Facts and reports are submitted as JSON by default, as visible using --http_debug . If preferred_serialization_format=pson , then submit using PSON.
    • Agent
    • 2
    • Agent 2017-06-14
    • Manual

    Description

      In PUP-7259, we modified the agent to requests catalogs and file_metadata from the server in one of the agent's supported formats, i.e. Accept: application/json, pson, etc. The server will select the first format from the list that it also supports.

      However, puppet still sends facts and reports in PSON.

      PUP-7259 enabled the server to start accepting reports in JSON and has already been resolved.

      PUP-7257 will enable the server to start accepting facts in JSON. Once that lands -and is promoted into puppetserver-, we can modify the agent to start sending facts and reports as JSON (this ticket).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              josh Josh Cooper
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support