Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-7790

concat : modifies frozen string in Puppet 6

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • Needs Assessment
    • Needs Assessment

    Description

      In Puppet 6, PUP-7141 stops automatically duping parameters it passes to types/providers. This will result in many of those parameters being frozen string literals. That results in an error like

        Info: Loading facts
        Notice: Compiled catalog for rfhz2vbjuc47ymx.delivery.puppetlabs.net in environment production in 0.05 seconds
        Info: Applying configuration version '1536607486'
        Error: /Stage[main]/Main/Concat[/tmp/concat.7tV95F/file]/Concat_file[/tmp/concat.7tV95F/file]: Failed to generate additional resources using 'eval_generate': can't modify frozen String
        Notice: Applied catalog in 0.03 seconds
      

      when trying to concat_file's ensure_newline.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              michael.smith Michael Smith
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support