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
This commit is contained in:
Jeffrey Zhang 2017-05-06 09:46:42 +08:00
parent b236be7cb1
commit e05b3ac0e1

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'