Issue #21812 has been updated by Lukáš Zapletal.

Subject changed from Facter cannot parse Schrödinger’s Cat (Fedora 19) in 
operatingsystemrelease to Puppet reads STDERR for facts
Priority changed from Normal to Low

Ok one important note - it's not facter which has a bug, but different 
component from puppet. Facter (or Ruby) apparently writes an error to STDERR 
which then confuses something else.

[root@lzap-aa ~]# facter operatingsystemrelease
Could not retrieve operatingsystemrelease: invalid byte sequence in US-ASCII
3.9.5-301.fc19.x86_64

[root@lzap-aa ~]# facter operatingsystemrelease 2>/dev/null
3.9.5-301.fc19.x86_64


----------------------------------------
Bug #21812: Puppet reads STDERR for facts
https://projects.puppetlabs.com/issues/21812#change-94961

* Author: Lukáš Zapletal
* Status: Unreviewed
* Priority: Low
* Assignee: 
* Category: 
* Target version: 
* Keywords: facter fedora
* Branch: 
* Affected Facter version: 
----------------------------------------
Facter which is in Fedora cannot parse byte sequence which contains non-ASCII 
character:

# cat /etc/redhat-release 
Fedora release 19 (Schrödinger’s Cat)

# facter operatingsystemrelease
Could not retrieve operatingsystemrelease: invalid byte sequence in US-ASCII
3.9.5-301.fc19.x86_64

Environment is set to default encoding (UTF-8). I am going to create Red Hat 
bugzilla as we might want to backport this into Fedora 19.


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to