Issue #14522 has been updated by Brian Menges.
Tim Mooney wrote: > This happens with both facter 1.6.6 and facter 2.0.0rc1 > > I'm using ruby 1.9.3p125 on x86_64-sun-solaris2.10 > > When I run either version of facter, I get three lines of stderr output: > > Could not retrieve virtual: invalid byte sequence in US-ASCII > Could not retrieve virtual: invalid byte sequence in US-ASCII > Could not retrieve virtual: invalid byte sequence in US-ASCII > > and the "is_virtual" fact is incorrectly set to "true". If I just run > > facter is_virtual > > I get > > Could not retrieve virtual: invalid byte sequence in US-ASCII > true I get this same output with Nexenta (which is recognized as its own operatingsystem, but is also detected as kernel SunOS). It is a hybrid Debian/openSolaris system. I've tried the following ruby based patch in a few of the .rb files: <pre> if RUBY_VERSION =~ /1.9/ Encoding.default_external = Encoding::UTF_8 Encoding.default_internal = Encoding::UTF_8 end </pre> This didn't work. ---------------------------------------- Bug #14522: invalid byte sequence error for virtual fact on Solaris 10 x86_64 https://projects.puppetlabs.com/issues/14522#change-81207 Author: Tim Mooney Status: Accepted Priority: Low Assignee: Category: Target version: Keywords: solaris Branch: Affected Facter version: This happens with both facter 1.6.6 and facter 2.0.0rc1 I'm using ruby 1.9.3p125 on x86_64-sun-solaris2.10 When I run either version of facter, I get three lines of stderr output: Could not retrieve virtual: invalid byte sequence in US-ASCII Could not retrieve virtual: invalid byte sequence in US-ASCII Could not retrieve virtual: invalid byte sequence in US-ASCII and the "is_virtual" fact is incorrectly set to "true". If I just run facter is_virtual I get Could not retrieve virtual: invalid byte sequence in US-ASCII true -- 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.
