I know I haven't responded in a while, but thank you to everyone who gave advice/experience/encouragement. Progress has been slow, mainly due to other projects, but at this point I'm trying to hold off on building my new master (even though it's really needed) until I have a built and tested maximum version of puppet on the old OSes.

I've decided to tackle RHEL4 first, as I think it will be easier, and I've got more of those boxes to deal with. This morning I got a successful build of ruby 1.8.7-p299, using Karanbir Singh's RHEL5 srpm from http://centos.karan.org/el5/ruby187/SRPMS/ruby-1.8.7.299-4.el5.kb.src.rpm. Unfortunately I couldn't get ruby-tk to build for 64-bit, but I just gave up on that and wrapped it in an 'ifnarch x86_64'.

Assuming all goes well, I should have the rest of the dependencies, as well as (hopefully 2.7.somethingNew) packaged for RHEL4 by the end of the week. I'll likely post my specfiles and srpms somewhere public.

As to SLES9, I found a thread here from 2 years ago ("Installing puppet 0.25.5 on SLES 9 64 bit", https://groups.google.com/forum/?fromgroups=#!topic/puppet-users/0GaSd3Z2BSQ) where Thorsten Biel reported packaging ruby 1.8.7 on SLES9 x86_64. It looks like the specfile/SRPMs never made it anywhere public, but I've dropped him an email in the hopes that he still has them. If not, I guess I'll tackle that when RHEL is done.

Thanks Again,
Jason Antman

On 08/22/2012 01:34 PM, Nick Fagerlund wrote:
The advice above is generally pretty good -- for best results build your own Ruby packages, etc. etc.

One thing I can add: Given that even RHEL 5 has a pretty ancient Ruby, you might want to run puppet agent via cron jobs (with --splay) instead of as a daemon. The daemon is generally okay on Ruby 1.8.7 with a modern patch number, but 1.8.5 leaks memory like a sieve with long-running processes.

('Puppet resource' code for creating the cron jobs is the second example in this section: http://docs.puppetlabs.com/guides/installation.html#with-cron)
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/Q0h1Oq5ZcowJ.
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.

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

Reply via email to