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

Puppet::Util::Execution.execute no longer returns a String

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 3.4.0
    • Fix Version/s: PUP 3.6.0
    • Component/s: Compiler
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      Week 2014-4-23 to 2014-4-30, Week 2014-4-30 to 2014-5-7

      Description

      Commit 732d450 ( https://github.com/puppetlabs/puppet/commit/732d450 ) changed the return type of Puppet::Util::Execution.execute from a String, to a new string subclass Puppet::ProcessOutput.

      This is not a fully backwards compatible change, and causes problems where things do strict type checking - for example, the chomp() function in stdlib.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              lee Lee Lowder
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support