2
votes

Can anyone suggest me the step by step process for standalone puppet installation on Redhat?

I was trying to install by following the below link https://docs.puppetlabs.com/guides/install_puppet/install_el.html

But when I run sudo yum install puppet command, the following errors are coming:

Error: Package: rubygem-json-1.5.5-3.el6.x86_64 (puppetlabs-deps) Requires: rubygems >= 1.3.7

Error: Package: puppet-3.7.5-1.el6.noarch (puppetlabs-products) Requires: ruby >= 1.8

Error: Package: rubygem-json-1.5.5-3.el6.x86_64 (puppetlabs-deps) Requires: ruby(abi) = 1.8

Error: Package: puppet-3.7.5-1.el6.noarch (puppetlabs-products) Requires: ruby(selinux)

1
You have a problem with your yum repository configuration, but it's unclear exactly what. If you are running a version of RedHat outside the 6.x series then you have configured the wrong puppetlabs repository. Otherwise, you probably need to enable a RedHat repo that is currently disabled. - John Bollinger
oO!, every answer got down-vote. I am scare to answer it. - BMW
Have you enabled optional channels? "CentOS and other community forks have several packages Puppet depends on in their main repos, but RHEL itself is split into channels. If you’re installing Puppet on RHEL, you’ll want to make sure the “optional” channel is enabled. Instructions are available here." docs.puppetlabs.com/guides/install_puppet/… - Peter Souter
@Anony, possibly all you need to do is enable the rhel-6-server-rpms and / or rhel-6-server-optional-rpms repositories. - John Bollinger

1 Answers

-2
votes

The errors are indicating you the problems.

You need to install previously some packages to run puppet installation.

Error: Package: rubygem-json-1.5.5-3.el6.x86_64 (puppetlabs-deps) Requires: rubygems >= 1.3.7

Error: Package: puppet-3.7.5-1.el6.noarch (puppetlabs-products) Requires: ruby >= 1.8

Error: Package: rubygem-json-1.5.5-3.el6.x86_64 (puppetlabs-deps) Requires: ruby(abi) = 1.8

Error: Package: puppet-3.7.5-1.el6.noarch (puppetlabs-products) Requires: ruby(selinux)

Regards, David.