In a Puppet Enterprise installation, bringing on new compile masters is very easy. Simply add a new node to the PE Master Classification group underneath the PE Infrastructure:
These nodes will receive the same configuration as the Primary Master, including code manager configuration and necessary connections to PuppetDB. There are no hidden tricks to managing additional compile masters in Puppet Enterprise. Classify and add them to a load balancer.
In open source, we need to ensure each Puppet Master is configured to use PuppetDB. Luckily, puppetlabs/puppetdb provides that connection for us:
class profile::puppetserver ...