configuration-templates
/monit/debian/templates/puppet-master |
@@ -0,0 +1,8 @@ |
########################################################################### |
## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## |
########################################################################### |
|
check process puppet-master with pidfile /var/run/puppet/master.pid |
start program "/bin/systemctl start puppet-master" |
stop program "/etc/init.d/ssh stop puppet-master" |
# if 5 restarts within 5 cycles then timeout |