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

Accept and produce ASCII_8BIT as Binary value

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 6.0.1
    • Component/s: None
    • Labels:
      None
    • Template:
    • Epic Link:
    • Team:
      Platform Core
    • Release Notes:
      Known Issue
    • Release Notes Summary:
      Hide
      We did not quite finish the support for the Binary data type in time for 6.0.0. Before you start to use Binary in your manifests for anything except File content, you should be aware of the ticket PUP-9110 as it could introduce changes that may affect you.
      Show
      We did not quite finish the support for the Binary data type in time for 6.0.0. Before you start to use Binary in your manifests for anything except File content, you should be aware of the ticket PUP-9110 as it could introduce changes that may affect you.
    • QA Risk Assessment:
      Needs Assessment

      Description

      The Binary data type (PUP-5831) has been around a while but never really been used.
      Instead we have accepted ASCII-8BIT strings as values and switching to PSON in the serialization when encountering such values.

      The File type has been given support such that it accepts instances of Binary (i.e. Puppet::Pops::Types::PBinaryType::Binary to be precise. Other existing types and providers naturally does not know how to deal with that runtime value and can thus not immediately benefit from rich serialization of a Binary.

      To resolve this, the Binary data type should be used in the catalog (rich data is on by default in puppet 6.0.0) but the runtime type on the agent should be changed from the special Binary to simply use ASCII_8BIT encoded String.

      See the linked Predocs for a more in depth description.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  henrik.lindberg Henrik Lindberg
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Zendesk Support