Issue #14584 has been updated by Jeff Weiss.
Backwards-compatible default for Facter 2.1.0 is to preserve existing behavior for STDERR, which is to pass along to end user, effectively `preserve_standard_error`. This can be overridden with `squelch_standard_error`, which prevents output to user STDERR, but still makes STDERR available from within the `setcode` block so that if a fact resolution writer needs to check STDERR they may do so without the error passing along to the end user. ---------------------------------------- Feature #14584: Make it easy to silence errors from facts https://projects.puppetlabs.com/issues/14584#change-64149 Author: Matthaus Litteken Status: Accepted Priority: Normal Assignee: Jeff Weiss Category: Target version: 2.1.0 Keywords: Branch: https://github.com/jeffweiss/facter/tree/ticket/2.x/14584_make_resolution_capture_stderr Affected Facter version: Very often facts get written that generate noise on STDERR. It seems like the current convention is to redirect STDERR to /dev/null, but this step is often forgotten. It would be awesome if facter had a built-in way, or default, of stripping stderr from facts. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
