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

Puppet::Util::Windows::Process.execute leaks Win32::Process exception when it fails

    XMLWordPrintable

    Details

    • Template:
    • Epic Link:
    • Team:
      Coremunity

      Description

      When using validate_cmd on a windows box against Puppet 3.7+ it will leak the exception thrown by Win32::Process instead of throwing the Puppet::ExecutionFailure error we throw for other systems.
      https://github.com/puppetlabs/puppet/blob/master/lib/puppet/util/windows/process.rb#L12

      https://github.com/puppetlabs/puppetlabs-stdlib/pull/348/files has example of when this is done

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              travis Travis Fields
              QA Contact:
              Eric Thompson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Zendesk Support