first attempt at doing the right thing for rabbitmq and keepalived

from https://gist.github.com/Apsu/6774391