puppetlabs / puppetlabs-pe_status_check

Self Service Module for Puppet Enterprise
Apache License 2.0
1 stars 33 forks source link

(SUP-3452) Handle hostcert path missing #145

Closed MartyEwings closed 2 years ago

MartyEwings commented 2 years ago

Prior to this commit if hostcert resolved to a path that wasn't present, the entire agent_status_check fact would fail. This could happen if certname was set in the agent section.

This handles the path presented by hostcert not being presenting by gracefully skipping that one chunk