Just wondering if anyone has built (or found) Puppet rpm packages for RHEL4 x86_64 version. James ********************************************************************************* Important Note This email (including any attachments) contains information which is confidential and may be subject to legal privilege. If you are not the intended recipient you must not use, distribute or copy this email. If you have received this email in error please notify the sender immediately and delete this email. Any views expressed in this email are not necessarily the views of AXA-Tech Australia. Thank you. **********************************************************************************
On Apr 18, 2007, at 7:59 PM, HARRIS Jimmy (AXA-Tech-AU) wrote:> Just wondering if anyone has built (or found) Puppet rpm packages for > RHEL4 x86_64 version. >Puppet is non-binary, the packages should work fine on x86 and x86_64 (on Debian they are marked as arch "all"). -Blake
HARRIS Jimmy \(AXA-Tech-AU\)
2007-Apr-19 03:46 UTC
Re: Puppet rpm packages for RHEL4 x86_64?
> > Just wondering if anyone has built (or found) Puppet rpm packagesfor> > RHEL4 x86_64 version. > > Puppet is non-binary, the packages should work fine on x86 > and x86_64 (on Debian they are marked as arch "all").I thought that too so I had previously tried an installation of the RHEL4 i386 package. The standard install failed with "Failed dependencies: ruby(api) = 1.8 is needed..." even though ruby and ruby-libs 1.8.1-7 are installed. A forced rpm installation (--nodeps) resulted in an error of: "/usr/sbin/puppetd:157:in `require'': No such file to load -- puppet (LoadError) from /usr/sbin/puppetd:157" James ********************************************************************************* Important Note This email (including any attachments) contains information which is confidential and may be subject to legal privilege. If you are not the intended recipient you must not use, distribute or copy this email. If you have received this email in error please notify the sender immediately and delete this email. Any views expressed in this email are not necessarily the views of AXA-Tech Australia. Thank you. **********************************************************************************
HARRIS Jimmy \(AXA-Tech-AU\)
2007-Apr-19 03:51 UTC
Re: Puppet rpm packages for RHEL4 x86_64?
> A forced rpm installation (--nodeps) resulted in an error of: > > "/usr/sbin/puppetd:157:in `require'': No such file to load -- puppet > (LoadError) from /usr/sbin/puppetd:157"If it wasn''t clear, this error occurred when trying to run puppet for the first time, not during the rpm installation. ********************************************************************************* Important Note This email (including any attachments) contains information which is confidential and may be subject to legal privilege. If you are not the intended recipient you must not use, distribute or copy this email. If you have received this email in error please notify the sender immediately and delete this email. Any views expressed in this email are not necessarily the views of AXA-Tech Australia. Thank you. **********************************************************************************
On Thu, Apr 19, 2007 at 01:46:26PM +1000, HARRIS Jimmy (AXA-Tech-AU) wrote:> > > Just wondering if anyone has built (or found) Puppet rpm packages > for > > > RHEL4 x86_64 version. > > > > Puppet is non-binary, the packages should work fine on x86 > > and x86_64 (on Debian they are marked as arch "all"). > > I thought that too so I had previously tried an installation of the > RHEL4 i386 package.The RHEL4 ruby under x86_64 has a bug, have a look at: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=203800 You can not use noarch packages for ruby until the bug is fixed.> The standard install failed with "Failed dependencies: ruby(api) = 1.8 > is needed..." even though ruby and ruby-libs 1.8.1-7 are installed.Ruby under RHEL4 doesn''t provide ruby(api) = 1.8.> A forced rpm installation (--nodeps) resulted in an error of: > > "/usr/sbin/puppetd:157:in `require'': No such file to load -- puppet > (LoadError) from /usr/sbin/puppetd:157"The rpms in http://people.redhat.com/dlutter for RHEL4 are arch specific and don''t require ruby(api) but unfortunately there are no x86_64 versions available so you''ll have to build one from the source rpms. For my RHEL4 systems I just build a newer ruby rpm (based on the fedora one) so I can use noarch ruby packages and have the ruby(api) provide. Kostas Georgiou
On Apr 19, 2007, at 2:32 AM, Kostas Georgiou wrote:> On Thu, Apr 19, 2007 at 01:46:26PM +1000, HARRIS Jimmy (AXA-Tech- > AU) wrote: > >>>> Just wondering if anyone has built (or found) Puppet rpm packages >> for >>>> RHEL4 x86_64 version. >>> >>> Puppet is non-binary, the packages should work fine on x86 >>> and x86_64 (on Debian they are marked as arch "all"). >> >> I thought that too so I had previously tried an installation of the >> RHEL4 i386 package. > > The RHEL4 ruby under x86_64 has a bug, have a look at: > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=203800 > You can not use noarch packages for ruby until the bug is fixed. > >> The standard install failed with "Failed dependencies: ruby(api) = >> 1.8 >> is needed..." even though ruby and ruby-libs 1.8.1-7 are installed. > > Ruby under RHEL4 doesn''t provide ruby(api) = 1.8.CentOS provides newer ruby packages in their testing repository. -Blake
HARRIS Jimmy \(AXA-Tech-AU\)
2007-Apr-20 00:00 UTC
Re: Puppet rpm packages for RHEL4 x86_64?
> > The RHEL4 ruby under x86_64 has a bug, have a look at: > > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=203800 > > You can not use noarch packages for ruby until the bug is fixed. > > > >> The standard install failed with "Failed dependencies: ruby(api) > >> 1.8 > >> is needed..." even though ruby and ruby-libs 1.8.1-7 are installed. > > > > Ruby under RHEL4 doesn''t provide ruby(api) = 1.8. > > CentOS provides newer ruby packages in their testing repository.Thanks all, I''ll either trying using the newer ruby packages from CentOS or building my own. James ********************************************************************************* Important Note This email (including any attachments) contains information which is confidential and may be subject to legal privilege. If you are not the intended recipient you must not use, distribute or copy this email. If you have received this email in error please notify the sender immediately and delete this email. Any views expressed in this email are not necessarily the views of AXA-Tech Australia. Thank you. **********************************************************************************
HARRIS Jimmy \(AXA-Tech-AU\)
2007-Apr-20 02:58 UTC
Re: Puppet rpm packages for RHEL4 x86_64?
> The rpms in http://people.redhat.com/dlutter for RHEL4 are > arch specific and don''t require ruby(api) but unfortunately > there are no x86_64 versions available so you''ll have to > build one from the source rpms. > For my RHEL4 systems I just build a newer ruby rpm (based on > the fedora one) so I can use noarch ruby packages and have > the ruby(api) provide.Is there any chance of making this rpm available? I''ve tried building from srpms but keep getting bad exit status errors. James ********************************************************************************* Important Note This email (including any attachments) contains information which is confidential and may be subject to legal privilege. If you are not the intended recipient you must not use, distribute or copy this email. If you have received this email in error please notify the sender immediately and delete this email. Any views expressed in this email are not necessarily the views of AXA-Tech Australia. Thank you. **********************************************************************************
What about a RPM for RHEL/CentOS 5? --jason On Apr 19, 2007, at 5:00 PM, HARRIS Jimmy ((AXA-Tech-AU)) wrote:>>> The RHEL4 ruby under x86_64 has a bug, have a look at: >>> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=203800 >>> You can not use noarch packages for ruby until the bug is fixed. >>> >>>> The standard install failed with "Failed dependencies: ruby(api) >>>> 1.8 >>>> is needed..." even though ruby and ruby-libs 1.8.1-7 are installed. >>> >>> Ruby under RHEL4 doesn''t provide ruby(api) = 1.8. >> >> CentOS provides newer ruby packages in their testing repository. > > Thanks all, I''ll either trying using the newer ruby packages from > CentOS > or building my own. > > James > > ********************************************************************** > *********** > Important Note > This email (including any attachments) contains information which is > confidential and may be subject to legal privilege. If you are not > the intended recipient you must not use, distribute or copy this > email. If you have received this email in error please notify the > sender immediately and delete this email. Any views expressed in this > email are not necessarily the views of AXA-Tech Australia. Thank > you. > ********************************************************************** > ************ > > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-users
On Thu, 2007-04-19 at 20:59 -0700, Jason Dillon wrote:> What about a RPM for RHEL/CentOS 5?Packages are at http://people.redhat.com/dlutter/yum/rhel5/ David
On Thu, 2007-04-19 at 10:32 +0100, Kostas Georgiou wrote:> The rpms in http://people.redhat.com/dlutter for RHEL4 are arch specificTo give some more detail: the RHEL4 ruby doesn''t have asingle directory on $: that stays constant across arches, they are all under /usr/lib for i386, and /usr/lib64 for x86_64. That''s the reason why the RHEL4 puppet packages are arch-specific. You should be able to rebuild the SRPM on RHEL4 with rpmbuild --define ''dist el4'' --define ''rhel 4'' http://people.redhat.com/dlutter/yum/SRPMS/puppet-0.22.3-1.src.rpm David
Sweet, thanks :-) --jason On Apr 20, 2007, at 10:31 AM, David Lutterkort wrote:> On Thu, 2007-04-19 at 20:59 -0700, Jason Dillon wrote: >> What about a RPM for RHEL/CentOS 5? > > Packages are at http://people.redhat.com/dlutter/yum/rhel5/ > > David > > > _______________________________________________ > Puppet-users mailing list > Puppet-users@madstop.com > https://mail.madstop.com/mailman/listinfo/puppet-users
HARRIS Jimmy \(AXA-Tech-AU\)
2007-Apr-24 00:22 UTC
Re: Puppet rpm packages for RHEL4 x86_64?
> To give some more detail: the RHEL4 ruby doesn''t have asingle > directory on $: that stays constant across arches, they are > all under /usr/lib for i386, and /usr/lib64 for x86_64. > That''s the reason why the RHEL4 puppet packages are arch-specific. > > You should be able to rebuild the SRPM on RHEL4 with > rpmbuild --define ''dist el4'' --define ''rhel 4'' > http://people.redhat.com/dlutter/yum/SRPMS/puppet-0.22.3-1.src.rpmI''ve successfully built both ruby and puppet but I am still getting an error of: /usr/sbin/puppetd:157:in `require'': no such file to load -- puppet (LoadError) from /usr/sbin/puppetd:157 when I try to run puppet. If I run (based on Luke''s check for openssl support): ruby -rpuppet -e "puts :yep" Any ideas? It looks to me like /usr/sbin/puppetd is requiring puppet from a different location but I don''t know where to start looking for the problem. Cheers, James ********************************************************************************* Important Note This email (including any attachments) contains information which is confidential and may be subject to legal privilege. If you are not the intended recipient you must not use, distribute or copy this email. If you have received this email in error please notify the sender immediately and delete this email. Any views expressed in this email are not necessarily the views of AXA-Tech Australia. Thank you. **********************************************************************************
HARRIS Jimmy \(AXA-Tech-AU\)
2007-Apr-24 00:23 UTC
Re: Puppet rpm packages for RHEL4 x86_64?
Sorry, meant to say: If I run (based on Luke''s check for openssl support): ruby -rpuppet -e "puts :yep" I get "yep". ********************************************************************************* Important Note This email (including any attachments) contains information which is confidential and may be subject to legal privilege. If you are not the intended recipient you must not use, distribute or copy this email. If you have received this email in error please notify the sender immediately and delete this email. Any views expressed in this email are not necessarily the views of AXA-Tech Australia. Thank you. **********************************************************************************
On Apr 23, 2007, at 7:22 PM, HARRIS Jimmy ((AXA-Tech-AU)) wrote:> > I''ve successfully built both ruby and puppet but I am still getting an > error of: > > /usr/sbin/puppetd:157:in `require'': no such file to load -- puppet > (LoadError) > from /usr/sbin/puppetd:157 > > when I try to run puppet. > > If I run (based on Luke''s check for openssl support): > > ruby -rpuppet -e "puts :yep" > > Any ideas? It looks to me like /usr/sbin/puppetd is requiring puppet > from a different location but I don''t know where to start looking for > the problem.$10 says you''ve got two versions of ruby installed, and your shell is finding one version but when you run puppetd you''re getting a different version. -- The only really good place to buy lumber is at a store where the lumber has already been cut and attached together in the form of furniture, finished, and put inside boxes. --Dave Barry --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
HARRIS Jimmy \(AXA-Tech-AU\)
2007-Apr-24 04:48 UTC
Re: Puppet rpm packages for RHEL4 x86_64?
> > I''ve successfully built both ruby and puppet but I am still gettingan error of:> > > > /usr/sbin/puppetd:157:in `require'': no such file to load -- puppet(LoadError)> > from /usr/sbin/puppetd:157 > > > > when I try to run puppet. > > > > If I run (based on Luke''s check for openssl support): > > > > ruby -rpuppet -e "puts :yep" > > > > Any ideas? It looks to me like /usr/sbin/puppetd is requiringpuppet from a different> > location but I don''t know where to start looking for the problem. > > $10 says you''ve got two versions of ruby installed, and your > shell is finding one version but when you run puppetd you''re > getting a different version.Luke, The $10 is yours next time you''re here in Australia as you were absolutely correct. Thanks for everyone''s help on this. After building ruby and puppet, it looks like I now have puppet succesfully running on RHEL4 U4 x86_64. Is there a central package repository I should consider adding these to? James ********************************************************************************* Important Note This email (including any attachments) contains information which is confidential and may be subject to legal privilege. If you are not the intended recipient you must not use, distribute or copy this email. If you have received this email in error please notify the sender immediately and delete this email. Any views expressed in this email are not necessarily the views of AXA-Tech Australia. Thank you. **********************************************************************************