puppetlabs / puppetlabs-pe_status_check

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

(SUP-4714) Check if logfile exists during runtime of S0039 #214

Closed Aaronoftheages closed 11 months ago

Aaronoftheages commented 11 months ago

S0039 Indicator was producing an error when there was no existing puppetserver-access.log file located within /var/log/puppetlabs/puppetserver.

This PR resolves the error messages being highlighted by https://github.com/puppetlabs/puppetlabs-pe_status_check/issues/213 - adding in a condition that will bypass the indicator in the event of a non existent file.