
This patch renames a few libraries whose names don't match *.sh. This allows tox to easily find all bash libraries and check them with bashate. Change-Id: Icf231dacc3fa78d20f1b48a4befb917a1d15dd3d
23 lines
667 B
Bash
Executable File
23 lines
667 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -o errexit -o nounset
|
|
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
|
source "$TOP_DIR/config/paths"
|
|
source "$CONFIG_DIR/credentials"
|
|
source "$LIB_DIR/functions.guest.sh"
|
|
|
|
exec_logfile
|
|
|
|
indicate_current_auto
|
|
|
|
#-------------------------------------------------------------------------------
|
|
# Install the message broker service (RabbitMQ).
|
|
|
|
echo "Installing RabbitMQ."
|
|
sudo apt-get install -y rabbitmq-server
|
|
|
|
echo "Adding openstack user to messaging service."
|
|
sudo rabbitmqctl add_user openstack "$RABBIT_PASSWORD"
|
|
|
|
echo "Permit configuration, write and read access for the openstack user."
|
|
sudo rabbitmqctl set_permissions openstack ".*" ".*" ".*"
|