Issue #2766 has been updated by Peter Meier.

I have pushed another attempt to 
http://github.com/duritong/facter/tree/bug/master/2766 and triggered a pull 
request.
----------------------------------------
Bug #2766: sysctl error messages are shown
https://projects.puppetlabs.com/issues/2766

Author: Peter Meier
Status: Accepted
Priority: Normal
Assignee: Peter Meier
Category: library
Target version: 1.6.x
Keywords: 
Branch: http://github.com/duritong/facter/tree/bug/master/2766
Affected Facter version: 


Fix for #2314 switched the collection of some values to sysctl. However if 
these sysctl values aren't present the following error message is shown:

<pre>
sysctl: hw.vendor: value is not available
sysctl: hw.product: value is not available
sysctl: hw.serialno: value is not available
</pre>

I think that facter shouldn't display them, instead it should simply not 
collect the fact or is it assumed that any Facter::Util::Resolution.exec should 
display stderr?

This is on OpenBSD 4.3 / i386


-- 
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.

Reply via email to