Skip to content
Snippets Groups Projects
Commit 52c4667b authored by SamYaple's avatar SamYaple
Browse files

Fix non-idempotent heka bootstrap

This bootstrap was non-idempotent. This patch follows the style
first implemented with nova to make this idempotent.

TrivialFix

Change-Id: Id04e59c5274a7d8a5bffd3ce018f3bbb84839d75
parent 33fd50e6
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
action: "create_volume" action: "create_volume"
common_options: "{{ docker_common_options }}" common_options: "{{ docker_common_options }}"
name: "kolla_logs" name: "kolla_logs"
register: kolla_logs_volume
- name: Starting heka bootstrap container - name: Starting heka bootstrap container
kolla_docker: kolla_docker:
...@@ -21,3 +22,4 @@ ...@@ -21,3 +22,4 @@
volumes: volumes:
- "{{ node_config_directory }}/heka/:{{ container_config_directory }}/:ro" - "{{ node_config_directory }}/heka/:{{ container_config_directory }}/:ro"
- "kolla_logs:/var/log/kolla/" - "kolla_logs:/var/log/kolla/"
when: kolla_logs_volume.changed
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment