Centos6.5 (32-bit) ruby can be directly installed (yuminstallruby) when installing puppet, you must first set the yum source: rpm-Uvhhttp: // Configure
Centos6.5 (32-bit) ruby can be directly installed (yum install ruby)
When installing puppet, you must first set the yum source:
Rpm-Uvh http://yum.puppetlabs.com/el/5/products/i386/puppetlabs-release-5-7.noarch.rpm
Yum clean all
Yum install puppet-server (master)
Yum install puppet (agent side)
Sometimes an error is reported:
Error: Package: ruby-libs-1.8.7.374-2.el5.i386 (puppetlabs-deps)
Requires: libtcl8.4.so
Error: Package: ruby-libs-1.8.7.374-2.el5.i386 (puppetlabs-deps)
Requires: libtk8.4.so
You cocould try using -- skip-broken to work around the problem
You cocould try running: rpm-Va -- nofiles -- nodigest
After google, the yum source is basically not specified, but I specified the yum source according to "pro puppet 2nd" and "Puppet practice" by Liu Yu, and always reported an error at the beginning, it is really strange to install puppet by typing the above command.