Remove test variable for service_name in panko.conf file
panko.conf depends on "service_name" variable, but when generating panko.conf in ceilometer, this variable is not set. Panko is a single process service, no need add such test. So simple remove the if clause. Change-Id: I5ba41046e35cd3fa00b8c22e1b4435acfaff5279 Closes-Bug: #1725159
This commit is contained in:
parent
175c65e490
commit
791bf3d5fa
@ -22,8 +22,6 @@
|
||||
- Restart panko-api container
|
||||
|
||||
- name: Copying over panko.conf
|
||||
vars:
|
||||
service_name: "{{ item.key }}"
|
||||
merge_configs:
|
||||
sources:
|
||||
- "{{ role_path }}/templates/panko.conf.j2"
|
||||
|
@ -3,10 +3,8 @@
|
||||
log_dir = /var/log/kolla/panko
|
||||
debug = {{ panko_logging_debug }}
|
||||
|
||||
{% if service_name == 'panko-api' %}
|
||||
# Force panko-api.log or will use app.wsgi
|
||||
log_file = /var/log/kolla/panko/panko-api.log
|
||||
{% endif %}
|
||||
|
||||
|
||||
[database]
|
||||
|
Loading…
Reference in New Issue
Block a user