Re: [Puppet Users] Re: [Puppet-dev] Announce: Puppet 3.0.0-rc7 Available
If there were a standard shared location, that would be an option. Debian has moved along those lines (a shared vendor_ruby that both ruby 1.8 and ruby 1.9 load from), but for EL and Fedora currently, that doesn't exist. And without knowing which ruby 1.9 is being built against, it is impossible to guess what the libdir layout would look like. On Mon, Oct 1, 2012 at 4:36 PM, Jeff McCune wrote: > On Mon, Oct 1, 2012 at 1:49 PM, Matthaus Owens > wrote: >> The builds of puppet require ruby, but are built with ruby 1.8, 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. 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. > > Is it a viable option to change the official RPM's to install Puppet > into a location that could be shared by multiple ruby interpreters? > Perhaps as a gem where two different ruby installations share a common > element along the GEM_PATH? > > -Jeff -- Matthaus Owens Release Manager, Puppet Labs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: [Puppet-dev] Announce: Puppet 3.0.0-rc7 Available
On Mon, Oct 1, 2012 at 1:49 PM, Matthaus Owens wrote: > The builds of puppet require ruby, but are built with ruby 1.8, 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. 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. Is it a viable option to change the official RPM's to install Puppet into a location that could be shared by multiple ruby interpreters? Perhaps as a gem where two different ruby installations share a common element along the GEM_PATH? -Jeff -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: [Puppet-dev] Announce: Puppet 3.0.0-rc7 Available
The builds of puppet require ruby, but are built with ruby 1.8, 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. 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. On Mon, Oct 1, 2012 at 12:12 PM, Eric Sorenson wrote: > Hi Jos -- Looks like the rpm specifies 'ruby(abi) >= 1.8' so it should be OK > out of the box for 1.9.x -- what's the error you're seeing? > > > On Sep 25, 2012, at 10:49 AM, Jos Backus wrote: > >> Hi Matthaus, >> >> Would it be possible to publish el6 RPMs for Ruby 1.9 which have 1.9.1 as >> the library version? The current 3.0.0 RPMs use 1.8. It looks like the >> RedHat spec file is already set up to handle this. >> >> Thanks! > > Eric Sorenson - eric.soren...@puppetlabs.com > > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com. > 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 Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Re: [Puppet-dev] Announce: Puppet 3.0.0-rc7 Available
Hi Jos -- Looks like the rpm specifies 'ruby(abi) >= 1.8' so it should be OK out of the box for 1.9.x -- what's the error you're seeing? On Sep 25, 2012, at 10:49 AM, Jos Backus wrote: > Hi Matthaus, > > Would it be possible to publish el6 RPMs for Ruby 1.9 which have 1.9.1 as the > library version? The current 3.0.0 RPMs use 1.8. It looks like the RedHat > spec file is already set up to handle this. > > Thanks! Eric Sorenson - eric.soren...@puppetlabs.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.