aboutsummaryrefslogtreecommitdiffstats
path: root/docker/services/mistral-api.yaml
diff options
context:
space:
mode:
authorSteve Baker <sbaker@redhat.com>2017-05-24 23:54:55 +0000
committerSteve Baker <sbaker@redhat.com>2017-06-12 09:18:09 +1200
commit9e759c971d993e2f9034ec6068dd0ddf1faf2740 (patch)
tree806e7a2f21d006ce467e9dcb5668ea7ff170dcfc /docker/services/mistral-api.yaml
parenteab0cd441ccce9521edea43fbc657bac18d06970 (diff)
Don't mount all of config-data /etc, /etc/httpd
This change modifies these mounts to be more specific mounts based on the files which puppet actually modifies. The result is something a bit more self-documenting, and allows for trying other techniques for populating /etc other than directly mounting config-data directories. Change-Id: Ied1eab99d43afcd34c00af25b7e36e7e55ff88e6
Diffstat (limited to 'docker/services/mistral-api.yaml')
-rw-r--r--docker/services/mistral-api.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/services/mistral-api.yaml b/docker/services/mistral-api.yaml
index 5586d41b..cc7e613e 100644
--- a/docker/services/mistral-api.yaml
+++ b/docker/services/mistral-api.yaml
@@ -105,7 +105,7 @@ outputs:
list_concat:
- {get_attr: [ContainersCommon, volumes]}
-
- - /var/lib/config-data/mistral/etc/:/etc/:ro
+ - /var/lib/config-data/mistral/etc/mistral/:/etc/mistral/:ro
- /var/log/containers/mistral:/var/log/mistral
command: "/usr/bin/bootstrap_host_exec mistral_api su mistral -s /bin/bash -c 'mistral-db-manage --config-file /etc/mistral/mistral.conf upgrade head'"
mistral_db_populate:
@@ -119,7 +119,7 @@ outputs:
list_concat:
- {get_attr: [ContainersCommon, volumes]}
-
- - /var/lib/config-data/mistral/etc/:/etc/:ro
+ - /var/lib/config-data/mistral/etc/mistral/:/etc/mistral/:ro
- /var/log/containers/mistral:/var/log/mistral
# NOTE: dprince this requires that we install openstack-tripleo-common into
# the Mistral API image so that we get tripleo* actions