Issue #3929 has been reported by Hector Rivas.

----------------------------------------
Bug #3929: Unvalidated swap -l output in facter on AIX 6.1
http://projects.puppetlabs.com/issues/3929

Author: Hector Rivas
Status: Unreviewed
Priority: Low
Assigned to: 
Category: 
Target version: 1.5.8
Keywords: 
Branch: 


if swap -l fails (in my case, a normal user can not execute swap -l), facter 
will fail:

$ facter
/usr/local/stow/ruby-1.8.7-p174-aix61/lib/ruby/gems/1.8/gems/facter-1.5.7/lib/facter/memory.rb:26:
 undefined method `each' for nil:NilClass (NoMethodError)
        from 
/usr/local/stow/ruby-1.8.7-p174-aix61/lib/ruby/gems/1.8/gems/facter-1.5.7/lib/facter/util/loader.rb:73:in
 `load'
        from 
/usr/local/stow/ruby-1.8.7-p174-aix61/lib/ruby/gems/1.8/gems/facter-1.5.7/lib/facter/util/loader.rb:73:in
 `load_file'
        from 
/usr/local/stow/ruby-1.8.7-p174-aix61/lib/ruby/gems/1.8/gems/facter-1.5.7/lib/facter/util/loader.rb:38:in
 `load_all'
        from 
/usr/local/stow/ruby-1.8.7-p174-aix61/lib/ruby/gems/1.8/gems/facter-1.5.7/lib/facter/util/loader.rb:33:in
 `each'
        from 
/usr/local/stow/ruby-1.8.7-p174-aix61/lib/ruby/gems/1.8/gems/facter-1.5.7/lib/facter/util/loader.rb:33:in
 `load_all'
        from 
/usr/local/stow/ruby-1.8.7-p174-aix61/lib/ruby/gems/1.8/gems/facter-1.5.7/lib/facter/util/loader.rb:30:in
 `each'
        from 
/usr/local/stow/ruby-1.8.7-p174-aix61/lib/ruby/gems/1.8/gems/facter-1.5.7/lib/facter/util/loader.rb:30:in
 `load_all'
        from 
/usr/local/stow/ruby-1.8.7-p174-aix61/lib/ruby/gems/1.8/gems/facter-1.5.7/lib/facter/util/collection.rb:90:in
 `load_all'
        from 
/usr/local/stow/ruby-1.8.7-p174-aix61/lib/ruby/gems/1.8/gems/facter-1.5.7/lib/facter.rb:91:in
 `to_hash'
        from 
/usr/local/stow/ruby-1.8.7-p174-aix61/lib/ruby/gems/1.8/gems/facter-1.5.7/bin/facter:138
        from /usr/local/bin/facter:19:in `load'
        from /usr/local/bin/facter:19



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