Issue #17407 has been updated by t x.

Assignee changed from t x to eric sorenson

Thanks, man. This is a multiple versions problem. 

I use Razor to install Ubuntu12.04 and puppet3.01, it will install facter 
twice. 

first use apt-get install 1.6.5, then use gem install 1.6.14. 

but apt-get install 1.6.5 and gem install 1.6.13 was ok.

here was --trace output :

root@node10:~# facter --trace

/usr/lib/ruby/1.8/facter/processor.rb:83: undefined method `enum_lsdev' for 
Facter::Util::Processor:Module (NoMethodError)

        from 
/var/lib/gems/1.8/gems/facter-1.6.14/lib/facter/util/loader.rb:81:in `load'

        from 
/var/lib/gems/1.8/gems/facter-1.6.14/lib/facter/util/loader.rb:81:in `load_file'

        from 
/var/lib/gems/1.8/gems/facter-1.6.14/lib/facter/util/loader.rb:43:in `load_all'

        from 
/var/lib/gems/1.8/gems/facter-1.6.14/lib/facter/util/loader.rb:38:in `each'

        from 
/var/lib/gems/1.8/gems/facter-1.6.14/lib/facter/util/loader.rb:38:in `load_all'

        from 
/var/lib/gems/1.8/gems/facter-1.6.14/lib/facter/util/loader.rb:35:in `each'

        from 
/var/lib/gems/1.8/gems/facter-1.6.14/lib/facter/util/loader.rb:35:in `load_all'

        from 
/var/lib/gems/1.8/gems/facter-1.6.14/lib/facter/util/collection.rb:93:in 
`load_all'

        from /var/lib/gems/1.8/gems/facter-1.6.14/lib/facter.rb:100:in `to_hash'

        from 
/var/lib/gems/1.8/gems/facter-1.6.14/lib/facter/application.rb:26:in `run'

        from /var/lib/gems/1.8/gems/facter-1.6.14/bin/facter:71

        from /usr/local/bin/facter:19:in `load'

        from /usr/local/bin/facter:19

    
----------------------------------------
Bug #17407: "undefined method `enum_lsdev' for Facter::Util::Processor:Module" 
with facter 1.6.14
https://projects.puppetlabs.com/issues/17407#change-75826

Author: t x
Status: Needs More Information
Priority: Normal
Assignee: eric sorenson
Category: 
Target version: 1.6.14
Keywords: 
Branch: 
Affected Facter version: 


install facter 1.6.14 using gem on ubuntu12.04
and get this message:

root@node6:~# gem install facter 
root@node6:~# facter
Error: undefined method `enum_lsdev' for Facter::Util::Processor:Module

ruby version is 1.8.7
facter 1.6.13 is ok


-- 
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.

Reply via email to