Packages I needed to get dashboard running on a RHEL4 Server:

>From the Extra Packages for Enterprise Linux repository:
http://fedoraproject.org/wiki/EPEL

32-bit: http://download.fedora.redhat.com/pub/epel/4/i386/repoview/
64-bit: http://download.fedora.redhat.com/pub/epel/4/x86_64/repoview/

        augeas-0.7.2-1
        augeas-libs-0.7.2-1
        facter-1.5.7
        ruby-augeas-0.3.0.1
        ruby-mysql-2.7.3-1

The version of ruby provided with RHEL 4 is too old, a newer version
is available from the CentOS Testing repository, I couldn’t find a
RedHat equivalent:
http://dev.centos.org/centos/4/

        ruby-1.8.5-5
        ruby-docs-1.8.5.-5
        ruby-irb-1.8.5-5
        ruby-libs-1.8.5-5
        ruby-rdoc-1.8.5-5

I installed the above rpm's before the following:

<quoted from 
http://github.com/puppetlabs/puppet-dashboard/blob/master/README.markdown>
Install the gem package manager -- do not install RubyGems version
1.3.6 or newer because they are incompatible with the Ruby shipped
with CentOS 5.5:

URL="http://production.cf.rubygems.org/rubygems/rubygems-1.3.5.tgz";
PACKAGE=$(echo $URL | sed "s/\.[^\.]*$//; s/^.*\///")
pushd "/tmp"
  CACHE=`mktemp -d install_rubygems.XXXXXXXXXX`
  pushd "$CACHE"
    wget -c -t10 -T20 -q "$URL"
    tar xfz "$PACKAGE.tgz"
    cd "$PACKAGE"
    sudo ruby setup.rb
  popd
popd

Install the rubygem rake:

gem install rake


I tried to install the mysql gem the same way, but got errors because
ruby needed to be a higher revision.

http://rubyworks.rubyforge.org/redhat/4.9/RPMS/x86_64/
rubygem-mysql-2.7-2


Finally install puppet-dashboard from rpm:

http://yum.puppetlabs.com/base/
puppet-dashboard-1.0.3-3.norarch.rpm

--nodeps required. The package appears to use an rpm query to check
dependencies, the rake gem wasn’t installed as an RPM, neither was
rubygems so it fails.

rpm –Uvh --nodeps puppet-dashboard-1.0.3-3.norarch.rpm

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to