{% set panko_cmd = 'apache2' if kolla_base_distro in ['ubuntu', 'debian'] else 'httpd' %} {% set panko_dir = 'apache2/conf-enabled' if kolla_base_distro in ['ubuntu', 'debian'] else 'httpd/conf.d' %} { "command": "{{ panko_cmd }} -DFOREGROUND", "config_files": [ { "source": "{{ container_config_directory }}/panko.conf", "dest": "/etc/panko/panko.conf", "owner": "panko", "perm": "0600" }{% if panko_policy_file is defined %}, { "source": "{{ container_config_directory }}/{{ panko_policy_file }}", "dest": "/etc/panko/{{ panko_policy_file }}", "owner": "panko", "perm": "0600" }{% endif %}, { "source": "{{ container_config_directory }}/wsgi-panko.conf", "dest": "/etc/{{ panko_dir }}/wsgi-panko.conf", "owner": "panko", "perm": "0640" } ], "permissions": [ { "path": "/var/log/kolla/panko", "owner": "panko:panko", "recurse": true } ] }