puppetlabs / puppet

Server automation framework and application
https://puppet.com/open-source/#osp
Apache License 2.0
7.46k stars 2.19k forks source link

The generate function grabs stderr #9517

Open acco93 opened 1 week ago

acco93 commented 1 week ago

Describe the Bug

The generate function grabs stderr.

Expected Behavior

I would expect only stdout to be retrieved.

Steps to Reproduce

$output = generate(command, arg1, arg2, ..., argN)

Environment

Additional Context

Probably related to combine: true introduced in https://github.com/puppetlabs/puppet/commit/ee46e7866316801d1ffe7b1c85f29f78c733512d

github-actions[bot] commented 5 days ago

Migrated issue to PUP-12086