This post is really a quick capture of a fellow blogger’s post for the procedure to install Puppet 4.10 on CentOS 7 with Foreman.

Post Install of CentOS 7

Original Post is at bluepilltech.blogspot.com.au

I do have some additions to that fantastic article.

On the Puppet Server run the following extra commands:
*substituting in the correct values for everything in <>

Then add the firewall rules

On each of the Puppet nodes:

For CentOS:

For other Linux Distributions see the puppet documentation here

Repositories are here

 

For Windows:

Repositories can be found here

Generic Firewall rules: 

You will need to open 8140/tcp on your agent’s firewall (each node)

Puppet Agent Commands:

Run the following on each agent with one exception:
*substituting in the correct values for everything in <>

You need to ensure that your agent clocks are in sync with the master, if you are in windows and are joined to AD the PDC will do this automatically for you. If your not on AD you will need configure NTP either in windows or via a 3rd party NTP Client.

On Linux for time management run the following
*substituting in the correct values for everything in <>