PuppetDB uses port 8081. If you have another service that needs to use that port, we recommend that you change the port for the other service. If you can’t do that, you can change the port that PuppetDB uses.
Version and installation information
PE version: All supported versions
To change the port for PuppetDB, complete these steps.
In the console, click Node groups and select the PE Infrastructure group.
On the Classes tab, select Class:
puppet_enterprise, under Parameter, select
puppetdb_port. Change the Value to an integer. For example, 8891. Click Add data and then click Commit 1 change.
If disaster recovery is configured, click Node groups and click the
+next to PE Infrastructure group. Select the PE Master group.
On the Classes tab, under Class:
puppet_enterprise::profile::master, under Parameter, select
puppetdb_port. Change the value to the integer in step two and format it as a JSON array value. For example, . Click Add data and then click Commit 1 change.
As root, log into the primary server and run
puppet agent -t. If disaster recovery is configured, log into the replica and run
puppet agent -t.