Drop this file, not needed

This commit is contained in:
Kevin Fenzi 2015-01-23 20:26:07 +00:00
parent 1d3b3a62b0
commit e53c6a3a49

View file

@ -1,34 +0,0 @@
#!/bin/bash
TYPE=$1
NAME=$2
STATE=$3
#
# We are becoming master node
#
if [ $STATE == "MASTER" ]; then
# systemctl stop kojira
# rm -f /etc/cron.d/kojifix
# rm -f /etc/cron.d/koji-directory-cleanup
# rm -f /etc/cron.d/koji-gc
# rm -f /etc/cron.d/koji-prunesigs
logger "just became keepalived master"
fi
#
# We are becoming the backup node
#
if [ $STATE == "BACKUP" ]; then
# systemctl start kojira
# /etc/cron.d/kojifix
# rm -f /etc/cron.d/koji-directory-cleanup
# rm -f /etc/cron.d/koji-gc
# rm -f /etc/cron.d/koji-prunesigs
logger "just became keepalived backup"
fi
#
# something horrible has gone wrong
#
if [ $STATE == "FAULT" ]; then
logger "just had a keepalived fault"
fi