Issue #13070 has been updated by eric sorenson.
This starts working again in 3.x, I did a reverse bisect (bad is good and good
is bad) and found I could make it work with just a one-line change that marks a
file loaded before hitting Kernel.load instead of afterwards:
<pre>
diff --git a/lib/puppet/util/autoload.rb b/lib/puppet/util/autoload.rb
index 8051d01..b6f7a5f 100644
--- a/lib/puppet/util/autoload.rb
+++ b/lib/puppet/util/autoload.rb
@@ -107,8 +107,8 @@ class Puppet::Util::Autoload
name = File.basename(file).chomp(".rb").intern
next if loaded?(name)
begin
- Kernel.require file
loaded(name, file)
+ Kernel.require file
rescue SystemExit,NoMemoryError
raise
rescue Exception => detail
</pre>
This seems like a more targeted, minimal fix than the one in Jeff's pull
request but the underlying issue is still pretty mysterious.
----------------------------------------
Bug #13070: puppet describe --list explodes with undefined method 'downcase'
for nil:NilClass
https://projects.puppetlabs.com/issues/13070#change-66986
Author: David Gwilliam
Status: In Topic Branch Pending Review
Priority: High
Assignee: Daniel Pittman
Category: RAL
Target version: 2.7.x
Affected Puppet version: 2.7.8
Keywords: mount, puppetlabs-mount-providers, mount-providers
Branch: https://github.com/puppetlabs/puppet/pull/677
root@ubuntu-10:/etc/puppetlabs/puppet/modules# puppet describe mounttab
Could not run: Could not autoload
/etc/puppetlabs/puppet/modules/puppetlabs-mount-providers/lib/puppet/type/mountpoint.rb:undefined
method 'downcase' for nil:NilClass
This currently fails on RHEL6.2 with PE2.0.1 (customer) and Ubuntu 10.04 with
PE2.0.2
Please let me know if you need any more information.
(tangentially related to #7188)
--
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.