Package: puppet-common
Version: 2.7.18-2
Severity: normal
Tags: patch upstream


When running the following command:
  puppet describe --list
Puppet fails with the error:
  Could not run: Could not autoload 
/var/lib/puppet/lib/puppet/type/mountpoint.rb:
     undefined method `downcase' for nil:NilClass


This bug have been fixed upstream, see 
http://projects.puppetlabs.com/issues/13070
(I patched the fileautoload.rb on my intalled packaged, and it works.)

Regards,

Franklin


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages puppet-common depends on:
ii  adduser            3.113+nmu3
ii  facter             1.6.10-1
ii  libaugeas-ruby1.8  0.4.1-1.1
ii  lsb-base           4.1+Debian8
ii  ruby-shadow        2.1.4-2
ii  ruby1.8            1.8.7.358-6
ii  sysv-rc            2.88dsf-32

Versions of packages puppet-common recommends:
ii  debconf-utils  1.5.46
ii  lsb-release    4.1+Debian8

Versions of packages puppet-common suggests:
pn  librrd-ruby1.8  <none>
pn  ruby-selinux    <none>

-- Configuration Files:
/etc/puppet/puppet.conf changed [not included]

-- no debconf information
--- /usr/lib/ruby/vendor_ruby/puppet/util/autoload.rb~	2012-12-21 12:13:00.348814181 +0100
+++ /usr/lib/ruby/vendor_ruby/puppet/util/autoload.rb	2012-12-21 12:13:03.132842125 +0100
@@ -107,8 +107,8 @@
       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

Reply via email to