1. You may have to put SELinux into `permissive` mode to allow Apache read the `config.ru` owned by `puppet`.
To permanently switch from WEBrick to Apache, configure systemd like this:
systemctl disable puppetmaster
systemctl enable httpd
Install client agent on RedHat/CentOS
=====================================
1. Pick the correct repository for your version from [PuppetLabs](https://docs.puppetlabs.com/guides/puppetlabs_package_repositories.html#for-red-hat-enterprise-linux-and-derivatives).
1. Install it:
yum install puppet
1. If needed, configure the Puppetmaster server name in `/etc/puppet/puppet.conf`:
[^1]: There's also a way to let the puppet agent run as a service described [here](https://docs.puppetlabs.com/guides/install_puppet/post_install.html#start-the-puppet-agent-service),