Issue #6554 has been updated by Jacob Helwig.

Status changed from Ready For Testing to Available In Testing Branch
Assignee deleted (Jacob Helwig)
Target version changed from Statler to 2.6.x

The fix to use `File.install` or `FileUtils.install` based on `$haveftools` has 
been merged into 2.6.next in commit:cc7f0728df96fd36a7ddda9cea3c4db274533f68
----------------------------------------
Bug #6554: Puppet install fails on ruby 1.9
https://projects.puppetlabs.com/issues/6554

Author: Thomas Hatch
Status: Available In Testing Branch
Priority: Normal
Assignee: 
Category: installation
Target version: 2.6.x
Affected Puppet version: 2.6.5
Keywords: ruby19
Branch: https://github.com/jamtur01/puppet/tree/ticket/2.6.x/6554


When I run ruby ./install.rb with ruby 1.9 I am seeing the following error:

The facter warnings have been taken care of in gut by James Turnbull

I will make some Arch packages which follow git so I can test these issues as 
they come and as the patches are applied - also I am more than happy to set up 
an Arch vm and give puppet labs root so that these issues can be tested on Arch 
and more importantly ruby 1.9.

    [thatch@fenrir puppet-2.6.5]$ ruby ./install.rb 
    ftools not found.  Using FileUtils instead..
    which: no ronn in 
(/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/share/java/apache-ant/bin:/opt/java/bin:/opt/java/db/bin:/opt/java/jre/bin:/usr/bin/core_perl)
    /usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:27: warning: class variable 
access from toplevel
    /usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:28: warning: class variable 
access from toplevel
    /usr/lib/ruby/site_ruby/1.9.1/facter/lsb.rb:31: warning: class variable 
access from toplevel
    ./install.rb:95:in `block in do_configs': undefined method `install' for 
File:Class (NoMethodError)
            from ./install.rb:93:in `each'
            from ./install.rb:93:in `do_configs'
            from ./install.rb:492:in `<main>'



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