Issue #3111 has been updated by Lance Albertson.
Has there been any progress made in fixing this issue? Its becoming a larger issue when external applications such as mcollective do a `require 'puppet'` and hit this issue. Unfortunately the ralsh fix I mentioned above doesn't fix it but if I add it to the mcollective package code, it works. ---------------------------------------- Bug #3111: Portage provider fails with ralsh http://projects.puppetlabs.com/issues/3111 Author: Lance Albertson Status: Investigating Priority: Normal Assigned to: Markus Roberts Category: Gentoo Target version: 0.25.6 Affected version: 0.25.3 Keywords: Branch: When calling 'ralsh package' on a Gentoo, it returns the following ruby error: <pre> # ralsh package /usr/lib64/ruby/site_ruby/1.8/puppet/provider/package/portage.rb:23:in `instances': uninitialized constant FileUtils (NameError) from /usr/lib64/ruby/site_ruby/1.8/puppet/type.rb:1006:in `instances' from /usr/lib64/ruby/site_ruby/1.8/puppet/type.rb:1005:in `collect' from /usr/lib64/ruby/site_ruby/1.8/puppet/type.rb:1005:in `instances' from /usr/lib64/ruby/site_ruby/1.8/puppet/application/ralsh.rb:113:in `main' from /usr/lib64/ruby/site_ruby/1.8/puppet/application.rb:226:in `send' from /usr/lib64/ruby/site_ruby/1.8/puppet/application.rb:226:in `run_command' from /usr/lib64/ruby/site_ruby/1.8/puppet/application.rb:217:in `run' from /usr/lib64/ruby/site_ruby/1.8/puppet/application.rb:306:in `exit_on_fail' from /usr/lib64/ruby/site_ruby/1.8/puppet/application.rb:217:in `run' from /usr/bin/ralsh:89 </pre> A quick easy fix is to add <pre>require 'fileutils'</pre> to portage.rb but I'm assuming that ralsh is making an assumpution that fileutils is loaded -- 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.
