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

De-serializing resource title hashes from PSON raises an error under Ruby 1.8.7

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: PUP 3.6.2
    • Fix Version/s: None
    • Component/s: Compiler
    • Labels:
      None
    • Environment:

      puppet 3.6.2
      ruby 1.8.7 (2011-06-30 patchlevel 352)
      json 1.8.1 (gem)
      CentOS 6.4

    • Template:

      Description

      With that environment, if I execute:

      # puppet apply --catalog client1-catalog.json
      Error: Could not run: Could not deserialize catalog from pson: Could not intern from pson: Could not intern from data: Could not find relationship target "Notify[{\"type\"=>\"A\"}]"
      

      If I execute in Ubuntu 14.04 with
      Puppet 3.6.2
      ruby-json 1.8.0-1build1
      ruby 1.9.3p484 (2013-11-22 revision 43786)

      # puppet apply --catalog client1-catalog.json
      Notice: prueba
      Notice: /Stage[main]/Main/Notify[prueba]/message: defined 'message' as 'prueba'
      Notice: {"type"=>"A"}
      Notice: /Stage[main]/Main/Notify[{"type"=>"A"}]/message: defined 'message' as '{"type"=>"A"}'
      Notice: Finished catalog run in 0.19 seconds
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                adrianlzt adrian
                Reporter:
                adrianlzt adrian
                QA Contact:
                Kurt Wall
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support