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

Remove PSON document_type

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 4.0.0
    • None
    • None

    Description

      The PSON format uses a encapsulation containing a document_type on some endpoints. We should remove this for Puppet 4.0 so PSON works the same as other serialization formats.

      Here is a example of code that adds this information to the API reply (there's a bunch of places that does this):
      https://github.com/puppetlabs/puppet/blob/puppet-4/lib/puppet/resource/catalog.rb#L390-L403

      And here is the code that throws away that info:
      https://github.com/puppetlabs/puppet/blob/puppet-4/lib/puppet/network/formats.rb#L157-L167

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dalen Erik Dalén
              Eric Thompson Eric Thompson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support