Puppet does not install in CentOS6 with WHM/cPanel
Hello experts
Puppet does not install in CentOS6 with WHM/cPanel at all. Always the same errors on all servers with WHM:
Error: Package: puppet-3.4.3-1.el6.noarch (puppetlabs)
Requires: ruby-augeas
Error: Package: puppet-3.4.3-1.el6.noarch (puppetlabs)
Requires: ruby >= 1.8.7
Error: Package: puppet-3.4.3-1.el6.noarch (puppetlabs)
Requires: ruby-rgen >= 0.6.5
Error: Package: 1:facter-2.0.1-1.el6.x86_64 (puppetlabs)
Requires: /usr/bin/ruby
Error: Package: puppet-3.4.3-1.el6.noarch (puppetlabs)
Requires: ruby >= 1.8
Error: Package: hiera-1.3.2-1.el6.noarch (puppetlabs)
Requires: rubygem-json
Error: Package: puppet-3.4.3-1.el6.noarch (puppetlabs)
Requires: /usr/bin/ruby
Error: Package: hiera-1.3.2-1.el6.noarch (puppetlabs)
Requires: ruby >= 1.8.5
Error: Package: puppet-3.4.3-1.el6.noarch (puppetlabs)
Requires: ruby-shadow
Error: Package: hiera-1.3.2-1.el6.noarch (puppetlabs)
Requires: /usr/bin/ruby
Error: Package: 1:facter-2.0.1-1.el6.x86_64 (puppetlabs)
Requires: ruby >= 1.8.7
You could try using --skip-broken to work around the problem
rpm -qa | egrep 'epel|puppet|rbel'
rbel6-release-1.0-2.el6.noarch
puppetlabs-release-6-10.noarch
epel-release-6-8.noarch
cat /etc/redhat-release
CentOS release 6.5 (Final)
ruby -v
ruby 1.8.7 (2013-06-27 patchlevel 374) [x86_64-linux]
This problem occurs after install cpanel.
This problem occurs on all servers with installed cPanel.
Another servers with CentOS6 without WHM/cPanel work fine.
Version of cPanel WHM 11.42.1 (build 5)
It is easy to check:
- set a fresh system CentOS
- added repository puppetlabs
- run: yum install puppet
And we can see that everything is fine with dependencies.
We aren't confirming installation, run install cpanel. After installation check it again:
- yum install puppet
We get errors and puppet cannot be installed at all.
Any solutions do not help.
Does anyone know the way to install puppet on server with cPanel? :(
Thank you.
-
Hello :) cPanel does not currently ship Ruby as a RPM. An entry for ruby is added to the exclude= line in /etc/yum.conf. Have you tried using --skip-broken with YUM to work around the problem? Thank you. 0 -
Yes, you are absolutely right! I forgot about exceptions in yum.conf This line was added with cpanel after installation. # cat /etc/yum.conf | grep exclude exclude=bind-chroot courier* dovecot* exim* filesystem httpd* mod_ssl* mydns* mysql* nsd* php* proftpd* pure-ftpd* ruby* spamassassin* squirrelmail* And with this line "yum search ruby" of course could not found "ruby". I deleted this line and "yum search" found out "ruby" in repository from "puppetlabs" And Puppet was installed succesfully! Thank you for you help! :) 0
Please sign in to leave a comment.
Comments
2 comments