if using puppet open source you could consider app...
# puppet
m
if using puppet open source you could consider applying a custom fact modeled on the PE counterparts: https://github.com/puppetlabs/puppetlabs-pe_status_check/blob/e810875b317b444cd996fa97b7458219cdcf4746/lib/facter/pe_status_check.rb#L113 and https://github.com/puppetlabs/puppetlabs-pe_status_check/blob/e810875b317b444cd996fa97b7458219cdcf4746/lib/facter/pe_status_check.rb#L124 the two facts above check if an agent produced a report in the last runinterval and check if a catalog apply successfully on last puppet run