Fix panko source and dest file path in ceilometer config

* Use absolute path for panko.conf.j2
* Fix the destination path.

Change-Id: I3abc0bf000be8af3a0cde1f43901245e027bb469
Closes-Bug: #1688681
(cherry picked from commit e05b3ac0e1)
This commit is contained in:
Jeffrey Zhang 2017-05-06 09:46:42 +08:00
parent d87e7822d3
commit 4380182241
1 changed files with 2 additions and 2 deletions

View File

@ -91,12 +91,12 @@
- ceilometer-collector
merge_configs:
sources:
- ../panko/templates/panko.conf.j2
- "{{ role_path }}/../panko/templates/panko.conf.j2"
- "{{ node_custom_config }}/global.conf"
- "{{ node_custom_config }}/panko.conf"
- "{{ node_custom_config }}/panko/panko.conf"
- "{{ node_custom_config }}/panko/{{ inventory_hostname }}/panko.conf"
dest: "{{ node_config_directory }}/panko/panko.conf"
dest: "{{ node_config_directory }}/{{ item.key }}/panko.conf"
register: panko_confs
when:
- ceilometer_event_type == 'panko'