bd5e5bbb64
The previous method of using the API image for a data container worked, but resulted in more data being bindmounted and copied into the system. This patch resolves that by essentially using a distro-type as a FROM in a Dockerfile to generate distro-type-data. Further all of the data containers used throughout ansible are modified to use this new data container. Change-Id: I8846573d4f2d4b98d4f46c770bfefc6d4c5cd0b5 Partially-Implements: blueprint one-data-container
8 lines
207 B
Bash
8 lines
207 B
Bash
#!/bin/bash
|
|
|
|
function set_rabbitmq_cookie {
|
|
echo "${RABBITMQ_CLUSTER_COOKIE}" > /var/lib/rabbitmq/.erlang.cookie
|
|
chown -R rabbitmq: /var/lib/rabbitmq
|
|
chmod 400 /var/lib/rabbitmq/.erlang.cookie
|
|
}
|