Issue #5747 has been updated by James Turnbull. Status changed from Ready for Testing to Duplicate
---------------------------------------- Bug #5747: Install fails when ftools missing https://projects.puppetlabs.com/issues/5747 Author: James Estes Status: Duplicate Priority: Normal Assignee: Category: installation Target version: Affected Puppet version: 2.6.4 Keywords: install ftools FileUtils Branch: https://github.com/housejester/puppet/tree/ticket/2.6.x/5747 do_config in install.rb needs to be updated to use FileUtils.install. The change has been made to other methods, just not in do_config. Running it gives the following error: error:./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:493:in '<main>' The fix is to simply do the same if check that was done elsewhere: if $haveftools File.install(cf, ocf, 0644, true) else FileUtils.install(cf, ocf, {:mode => 0644, :verbose => true}) end -- 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.
