CC-5071: Better RabbitMQ passwords

-remove rabbitmq vhost on uninstall
This commit is contained in:
Martin Konecny 2013-05-08 15:53:53 -04:00
parent ebfa5b8c5c
commit f5b1daf2e0
2 changed files with 10 additions and 2 deletions

View file

@ -22,7 +22,6 @@ showhelp () {
}
rabbitmq_install () {
echo "RABBIT!!!"
RABBITMQ_VHOST="/airtime"
RABBITMQ_USER="airtime"
RABBITMQ_PASSWORD=$(awk -F ' = ' '{if (! ($0 ~ /^;/) && $0 ~ /^password/ ) print $2}' /etc/airtime/airtime.conf)
@ -38,7 +37,6 @@ rabbitmq_install () {
export RABBITMQ_USER
export RABBITMQ_PASSWORD
export RABBITMQ_VHOST
}
overwrite="f"