#!/bin/bash

set -o errexit

CMD="/usr/sbin/rabbitmq-server"
ARGS=""

# loading common functions
source /opt/kolla/kolla-common.sh

# config-internal script exec out of this function, it does not return here
set_configs

# loading functions
source /opt/kolla/config-rabbit.sh

# This catches all cases of the BOOTSTRAP variable being set, including empty
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
    set_rabbitmq_cookie
    exit 0
fi

$CMD $ARGS

#!/bin/bash

set -o errexit

CMD="/usr/sbin/rabbitmq-server"
ARGS=""

# loading common functions
source /opt/kolla/kolla-common.sh

# Execute config strategy
set_configs

# loading functions
source /opt/kolla/config-rabbit.sh

# This catches all cases of the BOOTSTRAP variable being set, including empty
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
    set_rabbitmq_cookie
    exit 0
fi

$CMD $ARGS

Clean up comment in rabbitmq
Clean up comment in rabbitmq

Change-Id: I87ff9b8319d29cc41ab7a0fb63025b434fab10f8
Partially-Implements: blueprint remove-config-internal
