The viewer class was failing to compile when used on puppet 7. This is because the ht_crypt function usage needed to be fully qualified.
modulesync 5.4.0
<!--
Thank you for contributing to this project!
-->
Fix visibility on failed nodes in the output report for the Catalog Diff Viewer
PR 50 introduced a bug where the pulloutput is not being added to the nodes hash when the report is written.
Adding pulloutput back to the nodes hash to be written to the json report.
This allows the Catalog Diff Viewer to see failed nodes in the report.
Changing the compile catalog to print body instead of reason when a compile fails as it provides the log entry with reason why compile failed for the node.
Fixes #92
modulesync 7.5.0
When using the certless API, Puppet will use trusted facts from PuppetDB unless provided in the request. If the PuppetDB facts were uploaded by the catalogdiff host, the trusted facts in PuppetDB will be for the catalogdiff host rather than the node being evaluated. This allows the trusted facts to be derived from the node name instead of using values from PuppetDB.
Perhaps there is a way to have Puppet store the trusted facts as presented in the facts file being uploaded, but from what I can tell the facts API always replaces trusted facts with data derived from the client cert.