Making Sure Puppet is Running

Have you ever realized that puppet stopped running on a server a month ago? Or perhaps you stopped it and forgot to restart it? Your server has been ignoring vital security updates because you thought that puppet had it covered. That’s why I use this handy bit of code: