3b8209c982
* The recently merged aodh role is trying to copy api_paste.ini on startup which is already present at build time. * memcache_servers was using incorrect for loop syntax Note, the trim_blocks header is to solve the issue highlighted by Jeffrey[0] [0] http://lists.openstack.org/pipermail/openstack-dev/2016-September/103532.html Change-Id: I8baa5446b3b6271d57d54c4c1663a338d8ab3cc8 Closes-Bug: #1624462
20 lines
671 B
Django/Jinja
20 lines
671 B
Django/Jinja
{% set aodh_cmd = 'apache2' if kolla_base_distro in ['ubuntu', 'debian'] else 'httpd' %}
|
|
{% set aodh_dir = 'apache2/conf-enabled' if kolla_base_distro in ['ubuntu', 'debian'] else 'httpd/conf.d' %}
|
|
{
|
|
"command": "{{ aodh_cmd }} -DFOREGROUND",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/aodh.conf",
|
|
"dest": "/etc/aodh/aodh.conf",
|
|
"owner": "aodh",
|
|
"perm": "0644"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/wsgi-aodh.conf",
|
|
"dest": "/etc/{{ aodh_dir }}/wsgi-aodh.conf",
|
|
"owner": "aodh",
|
|
"perm": "0644"
|
|
}
|
|
]
|
|
}
|