aboutsummaryrefslogtreecommitdiff
path: root/docker/common/rabbitmq
diff options
context:
space:
mode:
authorSteven Dake <stdake@cisco.com>2015-08-13 14:26:55 -0700
committerSteven Dake <stdake@cisco.com>2015-08-18 20:52:27 -0700
commitbd5e5bbb64b20eb4c77c2a941973845d847e9d78 (patch)
tree7099996ec8aec66ce16d78f97e79c8ca76df5b44 /docker/common/rabbitmq
parentac61653343536017b20182e75bc66228bc4da79f (diff)
downloadkolla-bd5e5bbb64b20eb4c77c2a941973845d847e9d78.tar.gz
kolla-bd5e5bbb64b20eb4c77c2a941973845d847e9d78.zip
Use one data container for all data volumes
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
Diffstat (limited to 'docker/common/rabbitmq')
-rw-r--r--docker/common/rabbitmq/config-rabbit.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/common/rabbitmq/config-rabbit.sh b/docker/common/rabbitmq/config-rabbit.sh
index 6f2283c67..c87a2ab48 100644
--- a/docker/common/rabbitmq/config-rabbit.sh
+++ b/docker/common/rabbitmq/config-rabbit.sh
@@ -2,6 +2,6 @@
function set_rabbitmq_cookie {
echo "${RABBITMQ_CLUSTER_COOKIE}" > /var/lib/rabbitmq/.erlang.cookie
- chown rabbitmq: /var/lib/rabbitmq/.erlang.cookie
+ chown -R rabbitmq: /var/lib/rabbitmq
chmod 400 /var/lib/rabbitmq/.erlang.cookie
}