For example, if I want print "Reboot required!" when the file /var/run/reboot-required exists, how could I declare this in puppet?
I learned about alert(), warning() and the notify type, but I don't know how to trigger they only when some file exists.