>
> I'm new to puppet and ruby-ignorant, but: I've got 2 Very Similar
> +virgin systems:
>
> rhel5$ cat /etc/redhat-release
> Red Hat Enterprise Linux Client release 5.2 (Tikanga)
> rhel5$ ruby -v
> ruby 1.8.5 (2006-08-25) [i386-linux]
> rhel5$ rpm -aq | grep ruby
> ruby-libs-1.8.5-5.el5_2.3
> ruby-1.8.5-5.el5_2.3
>
>
> centOS5$ cat /etc/redhat-release
> CentOS release 5.2 (Final)
> CentOS5$ ruby -v
> ruby 1.8.5 (2006-08-25) [i386-linux]
> CentOS5$ rpm -aq | grep ruby
> ruby-libs-1.8.5-5.el5_1.1
> ruby-1.8.5-5.el5_1.1
>
> PROBLEM: when I do the same on both systems (after 3 bootstrap cmds
> below),
> rhel5 works (ignoring the rdoc error warning) ; centOS5 fails
Does your RHEL 5 box have facter installed already - either by RPM or
gem?
Have you got a RUBYLIB env setup on the RHEL 5 box that points to your
extracted facter dir?
Seems that install.rb contains a self-referential prereq to facter
itself - this seems wrong to me, and looks as if it's possibly just
come from the puppet install.rb as we don't need the other PREREQS
there either.
PREREQS = %w{openssl facter xmlrpc/client xmlrpc/server cgi}
> 'm guessing something dumb here (like myself), but I read the FAQ
> and searched this group.
I think most people end up doing gem install facter or use dlutter's
rpms.
Paul
>
> Bingo! Merely removed "facter" from PREREQS line in factor-1.5.1/
> install.rb
>
> THEN, "sudo ruby install.rb" does a nice install
>
> ...it installs /usr/bin/facter + more in /usr/lib/ruby/site_ruby/
Can you file a bug against facter please and I'll get to it.
Paul
It's done in commit 4998d3bbbf27dc995aa349666918b4acbd2c8975 in my repo.
Cheers
James
--
Author of:
* Pulling Strings with Puppet
(http://www.amazon.com/gp/product/1590599780/)
* Pro Nagios 2.0
(http://www.amazon.com/gp/product/1590596099/)
* Hardening Linux
(http://www.amazon.com/gp/product/1590594444/)