The builds of puppet require ruby, but are built with ruby 1.8 (at least on EL 5 and 6, and Fedora 15 and 16), so they put all of puppet's lib in the sitelibdir of the ruby they were built with, so they go in /usr/lib/ruby/site_ruby/1.8 . For EL, we support whatever ruby distros have available and what is in epel (and our own 1.8.7 package for el5, as Jeff mentioned). If there is ever a ruby 1.9 package in those repos, we will certainly look at building puppet 3.x to support it. In the meantime, you can rebuild the puppet 3.0.0 source rpm against your ruby package and as long as it defines the sitelibdir to be in your ruby 1.9's load path, it should work just fine. You would also need to rebuild the facter and hiera rpms in the same way for puppet to find them in its load path.
The only exception currently is Fedora 17, which is built against the system ruby, which for Fedora 17 is ruby 1.9. Fedora 17 rpms will work with ruby 1.9. On Mon, Oct 1, 2012 at 4:13 PM, Jeff McCune <[email protected]> wrote: > On Mon, Oct 1, 2012 at 2:44 PM, Jos Backus <[email protected]> wrote: >> Hi, >> >> Any chance we will see Ruby 1.9-compatible RPMs for Puppet 3.0.0 and Facter >> 2.0.0 soon? > > Jos, > > We're currently building and maintaining our own ruby 1.8.7 packages > and the Puppet and Facter RPM's depend on these. What Ruby 1.9 > packages would these RPM's depend on? > > Are the existing packages _incompatible_ with Ruby 1.9 ? > > -Jeff > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" 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-users?hl=en. > -- Matthaus Owens Release Manager, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Developers" 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-dev?hl=en.
