Feature #7227
closed
Move Ubuntu 12.04 packages to Brightbox PPA with Ruby 1.9
Added by Dominic Cleal over 10 years ago.
Updated over 6 years ago.
Description
To drop Ruby 1.8 support and retain Ubuntu 12.04 as a supported OS, the Foreman installation will need to run under Ruby 1.9.
The Ruby 1.9.3-p0 package provided is likely to cause problems, but it could be tested (a much later patch level is what we usually test), however Puppet is known to have problems operating on p0 and so isn't supported.
Foreman should probably use the Brightbox PPA instead of 1.9.3-p0 as provided by Ubuntu 12.04.
(How Puppet will run will need to be investigated too, i.e. if the master should continue under 1.8 with Passenger 4 or similar, or if it can be loaded and run from the 1.9.3 Brightbox environment.)
- Translation missing: en.field_release set to 21
- Assignee set to Dominic Cleal
- Target version set to 1.7.2
- Status changed from New to Assigned
- Pull request https://github.com/theforeman/foreman-packaging/pull/365 added
- Pull request deleted (
)
Tested the resulting .deb and it seems to work just fine with the brightbox ruby-ng ppa, once passenger-common1.9.1 got installed (that means with passenger3 and thus 1.9 enabled for all vhosts, what we don't want at the end) or also with 1:4.0.53-1~precise1 from the phusionpassenger.com repo (also still with 1.9 for all vhosts)
Looks like we need to require an update to Puppet 3 and Facter 1.6.12 to make this work easily in a normal setup, else we need to add Passenger 4 into the mix, which I don't want to do by default. Puppet 3 is the lesser evil.
I've written up http://projects.theforeman.org/projects/foreman/wiki/Ubuntu_Precise_Brightbox with some user-facing docs on what we're doing and why, and will continue to expand the page.
As for tasks, I'm working on updating the installer to configure the PPA and will also investigate how easy it is to switch our shebang lines to point to 1.9, which would mean users can switch the default Ruby back to 1.8.
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman-packaging/pull/394 added
- Pull request deleted (
https://github.com/theforeman/foreman-packaging/pull/365)
- Related to Bug #7970: Default Ubuntu 12.04 Ruby should be 1.8 added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
#7970 remains a blocking issue for installations I suspect.
Also available in: Atom
PDF