newish puppet on RHEL4 and/or SLES9?

426 views
Skip to first unread message

Jason Antman

unread,
Aug 15, 2012, 10:41:32 AM8/15/12
to puppet...@googlegroups.com
I'm in the process of building out a new puppet master and pulling our
existing/legacy infrastructure into Puppet control for the basic
system-level stuff (mail, syslog, sudo, ssh, etc.). Unfortunately, the
directive from on high is that all of our hosts need to be managed by
the same system. That list is about 95% RHEL/Cent 5 or 6, but there's a
few RHEL4 and SLES9 machines on the "must have" list. As upgrades are
very unlikely, I'd like to be on the newest version possible - ideally,
2.7.12+ on the master so I can leverage puppetDB.

Is anyone out there running new-ish puppet (2.7, or else 2.6) on such
ancient beasts? If so, can anyone point me at sources for the packages,
and dependencies? Or perhaps have spec files to share?

I'd like to say I can spend the time to build and test puppet and all
the dependencies, but alas, that is very far from the case.

Thanks for any assistance,
Jason

PS - If you happen to be a competent generalist Linux admin in the
Boston, MA or Atlanta, GA area, feel free pass along your resume...

Mark Christian

unread,
Aug 15, 2012, 11:56:37 AM8/15/12
to puppet...@googlegroups.com
I'm not running newish puppet on rhel/cent 4, but the 0.25.6 EPEL packages seem to work well enough with my puppet master that runs 2.7.18.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet...@googlegroups.com.
To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.



Confidentiality Notice.
This message may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient, you are hereby notified that any use, disclosure, dissemination, distribution, or copying of this message, or any attachments, is strictly prohibited. If you have received this message in error, please advise the sender by reply e-mail, and delete the message and any attachments. Thank you.

John Warburton

unread,
Aug 15, 2012, 6:25:54 PM8/15/12
to puppet...@googlegroups.com

On 16 August 2012 00:41, Jason Antman <ja...@jasonantman.com> wrote:
 
by the same system. That list is about 95% RHEL/Cent 5 or 6, but there's a few RHEL4 and SLES9 machines on the "must have" list. As upgrades are very unlikely, I'd like to be on the newest version possible - ideally, 2.7.12+ on the master so I can leverage puppetDB.

Is anyone out there running new-ish puppet (2.7, or else 2.6) on such ancient beasts? If so, can anyone point me at sources for the packages, and dependencies? Or perhaps have spec files to share?

I'd like to say I can spend the time to build and test puppet and all the dependencies, but alas, that is very far from the case.

The big hurdle is getting a modern ruby running on the older release. Then any version of puppet/facter should work

Here's a post from 3 years (https://groups.google.com/forum/?fromgroups#!topic/puppet-users/PeZ3ffCnW6I[1-25]) ago of me giving instructions to get ruby/puppet running on VMWare ESX 3.5 which was derived from RHEL 3. Shoud work for RHEL 4

You may be struggling to find a fully functional puppet tool chain for an older RHEL - some work may be required

Regards

John
Message has been deleted

Jemmorey

unread,
Aug 16, 2012, 12:53:39 AM8/16/12
to puppet...@googlegroups.com
Jason, 

I was able to compile puppet via the spec file included in the source up to version 2.7.5 on RHEL4 (32 and 64-bit).  I can't remember the issues I had with 2.7.6-9 right now, but it had to do with the ancient ruby (1.8.1).  I did grab the requisite dependencies (augeas-libs, ruby-augeas, facter) from the EPEL.  I haven't had any major issues with that version using the default system ruby.  Makes me feel better that someone else has to support EOL relics as well.  Hope this helps.

Jordan

Nick Fagerlund

unread,
Aug 22, 2012, 1:34:15 PM8/22/12
to puppet...@googlegroups.com
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)

Jason Antman

unread,
Aug 25, 2012, 11:34:58 AM8/25/12
to puppet...@googlegroups.com
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
> --
> 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.

Sam Kottler

unread,
Aug 29, 2012, 4:25:36 PM8/29/12
to puppet...@googlegroups.com
Who's got the ban hammer? :P

On Wed, Aug 29, 2012 at 3:44 PM, shell Nor <norenm...@gmail.com> wrote:
My puppet has been created in isolation on an island at top of scotland over a period of 2 weeks nonstop working on her mismatched outfit.  sure youve prob....who hsn't .  Flattery will get u know where......no.....Know we're he're..wh'at i'd on't know....dumf...                                                dumf                                                       humfrey....'yes  m'lady.....why do I love you so'.....HumPhrey...........                                          Yes    M'lady.

remember w is an upside down vivisection........ h is r 1 leaning again movemenf ..........espanyol........rythme and movemenf.......                  what ya gonna do about the below  bell .....ow...!!!!!!  stay team ent....                           you wrote it its your scrip.....crypt.........whose hose h....h .....Mortgage coming to a show home near lend an ear.......Job coming to a show you how ........Billed  ....the perfect invoice guaranteed to be presentable........  F9,      Puppet, the honor you dont want to be without.......Michele xX

--
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/-/0DM356VV6JYJ.

Nigel Kersten

unread,
Aug 29, 2012, 4:59:11 PM8/29/12
to puppet...@googlegroups.com
About to unsubscribe this account as it was set to no email and looks
like a spam account.
--
Come to PuppetConf 2012! Sep 27/28 - San Francisco
http://puppetconf.com/

Nigel Kersten | http://puppetlabs.com | @nigelkersten
Schedule Meetings at: http://tungle.me/nigelkersten

James Turnbull

unread,
Aug 29, 2012, 7:10:41 PM8/29/12
to puppet...@googlegroups.com
Sam Kottler wrote:
> Who's got the ban hammer? :P
>

The address appears to be now banned. Apologies for the spam.

Regards

James


--
James Turnbull
Puppet Labs
1-503-734-8571
To schedule a meeting with me: http://tungle.me/jamtur01

Sam Kottler

unread,
Aug 29, 2012, 7:12:22 PM8/29/12
to puppet...@googlegroups.com
Thanks!

-Sam

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
Reply all
Reply to author
Forward
0 new messages