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

regression: puppet resource --to_yaml should not emit puppet class tags

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Template:
      PUP Bug Template
    • Team:
      Coremunity
    • Sprint:
      Coremunity Hopper
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      From https://tickets.puppetlabs.com/browse/PUP-7808?focusedCommentId=693345&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-693345

      This change caused a regression. The option --to_yaml no longer generates syntactically valid YAML.

      Before pull request #7718:

      mysql_database:
        PERCONA_SCHEMA:
          ensure : 'present'
          charset: 'utf8'
          collate: 'utf8_general_ci'
      

      After pull request #7718:

      mysql_database:
        PERCONA_SCHEMA:
          ensure: present
          charset: !ruby/string:Puppet::Util::Execution::ProcessOutput utf8
          collate: !ruby/string:Puppet::Util::Execution::ProcessOutput utf8_general_ci
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              josh Josh Cooper
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:

                  Zendesk Support