Installing and configuring Puppet Master
The people at Puppet Labs have their own repository servers for puppet, which is very easy when it comes down to installing and maintaining the server and agent. Although the EPEL repository also provides puppet packages, they tend to be old or not up to date. Hence, I recommend using the Puppet Labs' yum repositories.
How to do it…
This recipe covers a monolithic install. Perform the following steps:
Enable the optional channel via the following command; you'll need this to install the Puppet Server component:
~]# subscription-manager repos --enable rhel-6-server-optional-rpms
Download the
puppetlabs
repository installer, as follows:~]# curl -Lo /tmp/puppetlabs-release-el-7.noarch.rpm https://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm
Now, install the
puppetlabs
repository by executing the following:~]# yum install -y /tmp/puppetlabs-release-el-7.noarch.rpm
Install
puppet-server
by typing out this command:~]# yum install -y puppet-server...