#9561·puppet

Let puppet report contain what puppet CA was used as well

Author: salman8328Created Sep 16, 2025Updated Apr 4, 2026
Labelsenhancement

Use Case

background: We can use foreman_hostgroup fact to add the host in that foreman hostgroup during puppet runs. so, Right now in puppet reports to foreman or any other place, it contains puppet_master used, so I would like to also see what puppet_ca the client used as well in the reports. By doing this when "puppet runs" on client, the reports/facts will be enough for foreman to create an host with respective puppet CA and master for that host in foreman and when the host is deleted, foreman will delete/revoke that host from puppet CA.

Describe the Solution You Would Like

puppet reports should send in used puppet CA to foreman.