photo: wikimedia commons : User:Liftarn |
First, download an rpm to add the puppet labs yum repos. Then download an rpm to add the EPEL repo. Puppet requires a couple sneaky ruby pieces, and EPEL has 'em. (ruby-shadow and ruby-augeas, fyi)
cd /tmp
wget http://yum.puppetlabs.com/el/5/products/x86_64/puppetlabs-release-5-1.noarch.rpm
sudo rpm -Uvh puppetlabs-release-5-1.noarch.rpm
wget http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
sudo rpm -Uvh epel-release-5-4.noarch.rpm
yum repolist # just to see that they actually installed
Both repo definitions enable their main binary repos, for a normal `yum install` command, so there's no need to add flags to enable them. Source repos and testing versions are disabled, but can be enabled if you have some nutty reason to do it.
You should now be able to `yum install` the puppet client and/or server -- with all the dependencies being available.
yum install puppet # for a client
yum install puppet puppet-server # to include the server pieces, as well.
# actually, pupper-server just adds an init script
# and some scripts that pretend to be things like puppetmasterd
Ta da!
No comments:
Post a Comment