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.