Issue #14519 has been updated by Matthaus Litteken.

Status changed from Unreviewed to Rejected

never mind. using an absolute path resolved the issue.
----------------------------------------
Bug #14519: Facter returns an empty array of Facts on ruby 1.8.5-p231
https://projects.puppetlabs.com/issues/14519#change-62922

Author: Matthaus Litteken
Status: Rejected
Priority: Normal
Assignee: 
Category: 
Target version: 2.0.0
Keywords: 
Branch: 
Affected Facter version: 


Funning facter against ruby 1.8.5-p231 produces empty output.

    jenkins@ip-10-242-31-223:~/workspace/Facter 
Master/ruby/ruby-1.8.5/rvm/#rvm$ ruby --version
    ruby 1.8.5 (2008-06-20 patchlevel 231) [i686-linux]
    jenkins@ip-10-242-31-223:~/workspace/Facter 
Master/ruby/ruby-1.8.5/rvm/#rvm$ export RUBYLIB=./lib/:$RUBYLIB
    jenkins@ip-10-242-31-223:~/workspace/Facter 
Master/ruby/ruby-1.8.5/rvm/#rvm$ ruby bin/facter 
    jenkins@ip-10-242-31-223:~/workspace/Facter 
Master/ruby/ruby-1.8.5/rvm/#rvm$ 

    jenkins@ip-10-242-31-223:~/workspace/Facter 
Master/ruby/ruby-1.8.5/rvm/#rvm$ irb
    1.8.5 :001 > require 'facter/application'
    => true 
    1.8.5 :002 > Facter::Application.run()
    ArgumentError: wrong number of arguments (0 for 1)
    from (irb):2:in `run'
    from (irb):2
    from :0
    1.8.5 :003 > Facter::Application.run(ARGV)
    => [] 


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