Centos yum install the latest puppet

Source: Internet
Author: User
Tags puppet labs

Centos is one of the most widely used linux server systems. It is convenient to use yum for software package management, and is also liked by everyone who uses centos. I am also more and more fond of using yum to install software packages. Unless necessary, software is rarely compiled and installed.

There are also many centos extension sources (repo), such as the well-known EPEL and the two introduced in the previous yum source sharing article by mosquitoes.

However, it is not easy to use centos to install puppet using yum. First, the epel provides the puppet installation package, but only the 2.6.6 version is provided. The fedora provides another puppet source, namely.

Now, the puppet open-source version has reached 2.7.5. Anyone who wants to install it using the source code can download it here. But now we chose centos, and of course we should use the simplest yum or rpm for installation. Puppetlabs is also derogatory and provides rpm packages. The address is bytes.

The EL Directory provides all 32-bit and 64-bit packages for version 5 and 6, users can download and install puppetlabs-release-X-1.noarch.rpm files under their own system architecture directory to install (note: the uppercase X in the file indicates the corresponding version number, 5 or 6). After the installation is complete, the repo file will be automatically created. The next step is to use yum for installation. The latest version of puppet 2.7.5 is installed.

We recommend that you add the epel source to the system to prevent installation failure due to the installation failure because there are too few built-in centos source packages and the associated packages cannot be installed.

View CodeTXT

According to the installed repo file, mosquitoes modified the version by themselves. The modified repo file can automatically identify the current system version number and architecture, saving the trouble of installing the rpm package.

Downloadpuppetlabs. repo
[puppetlabs-products]name=Puppet Labs Products $releasever - $basearchbaseurl=http://yum.puppetlabs.com/el/$releasever/products/$basearchgpgkey=http://yum.puppetlabs.com/RPM-GPG-KEY-puppetlabsenabled=1gpgcheck=1[puppetlabs-deps]name=Puppet Labs Dependencies $releasever - $basearch baseurl=http://yum.puppetlabs.com/el/$releasever/dependencies/$basearchgpgkey=http://yum.puppetlabs.com/RPM-GPG-KEY-puppetlabsenabled=1gpgcheck=1[puppetlabs-products-source]name=Puppet Labs Products $releasever - $basearch - Sourcebaseurl=http://yum.puppetlabs.com/el/$releasever/products/SRPMSgpgkey=http://yum.puppetlabs.com/RPM-GPG-KEY-puppetlabsfailovermethod=priorityenabled=0gpgcheck=1[puppetlabs-deps-source]name=Puppet Labs Source Dependencies $releasever - $basearch - Sourcebaseurl=http://yum.puppetlabs.com/el/$releasever/dependencies/SRPMSgpgkey=http://yum.puppetlabs.com/RPM-GPG-KEY-puppetlabsenabled=0gpgcheck=1

We also hope that more people will test whether the repo content is correct. The system environment on the mosquito side is centos5.6, x86 architecture, and the installation is normal.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.