Issue #14521 has been updated by Chris Price.
Also--we discussed this amongst platform team, but documenting for posterity: This bug isn't triggered if you are running from a local git clone of facter, because the relative path of the file in question seems to be changed when you run "install.rb". (i.e., when you are running against a git clone, the "lib" dir exists as part of the path and thus the "require" statement works. When you are running from an installed copy of facter, the "lib" directory isn't there so the "require" fails. ---------------------------------------- Bug #14521: rbCFPropertyList.rb error when running 2.0.0rc1 https://projects.puppetlabs.com/issues/14521#change-63011 Author: Tim Mooney Status: Accepted Priority: High Assignee: Hailee Kenney Category: installation Target version: 2.0.0 Keywords: Branch: Affected Facter version: 2.0.0rc1 Just packaged and installed facter 2.0.0rc1 on Solaris 10 x86_64. I'm using ruby 1.9.3p125. In addition to some stderr output that was present with facter 1.6.6, there's a new error output: Error loading fact /local/lib/64/ruby/site_ruby/1.9.1/facter/macosx.rb cannot load such file -- /local/lib/64/ruby/site_ruby/1.9.1/facter/util/cfpropertylist/lib/rbCFPropertyList.rb macosx.rb is requiring util/macosx, which is in turn requiring facter/util/cfpropertylist.rb, which is doing require File.join(File.dirname(__FILE__), 'cfpropertylist', 'lib', 'rbCFPropertyList.rb') It looks like the "lib" may just be spurious, as the actual path to the installed file is facter/util/cfpropertylist/rbCFPropertyList.rb If I edit facter/util/cfpropertylist.rb and just remove the 'lib', from the join, the error goes away. -- 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.
