> > Though something is perhaps not kosher with it and lsb_release > > although it works fine for me... > > The issue seems to be that Facter::Util::Resolution::exec is returning > an array, not a string. > My version of Ruby doesn't seem to want to do pattern matches against > arrays, it seems, though that might have been legal on older Ruby > versions? >
In the course of trying to eliminate some other warnings, I am finding this is not the correct fix. Please ignore my patch. The code is also trying to call String methods such as each_line on the results of Facter::Util::Resolution::exec for lspci in other places. It seems in most places we want a newline joined string. Any reason to not change it to make it do this? There's probably some Ruby version change subtlety at work here seeing things work without warnings for James on F10. --Michael -- You received this message because you are subscribed to the Google Groups "Puppet Users" 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-users?hl=en.
