Puppet module for managing heartbeat