Skip to content
Snippets Groups Projects
Commit 87f01948 authored by Jeffrey Zhang's avatar Jeffrey Zhang Committed by Jeffrey Zhang
Browse files

Rename the gnocchi api-paste filename

* Rename gnocchi-api-paste.ini to api-paste which is used in gnocchi
* Copy api-paste.ini to /etc/gnocchi in container

TrivialFix

Change-Id: I0ea5d947f3a4323e641a041fb190cae3031d36b2
parent c4fa0511
No related branches found
No related tags found
No related merge requests found
......@@ -18,13 +18,13 @@
- "gnocchi-metricd"
- "gnocchi-statsd"
- name: Copying over gnocchi-api-paste.ini
- name: Copying over api-paste.ini
merge_configs:
sources:
- "{{ role_path }}/templates/gnocchi-api-paste.ini.j2"
- "{{ node_custom_config }}/gnocchi/gnocchi-api-paste.ini"
- "{{ node_custom_config }}/gnocchi/{{ inventory_hostname }}/gnocchi-api-paste.ini"
dest: "{{ node_config_directory }}/gnocchi-api/gnocchi-api-paste.ini"
- "{{ role_path }}/templates/api-paste.ini.j2"
- "{{ node_custom_config }}/gnocchi/api-paste.ini"
- "{{ node_custom_config }}/gnocchi/{{ inventory_hostname }}/api-paste.ini"
dest: "{{ node_config_directory }}/gnocchi-api/api-paste.ini"
- name: Copying over gnocchi.conf
merge_configs:
......
......@@ -9,6 +9,12 @@
"owner": "gnocchi",
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/api-paste.ini",
"dest": "/etc/gnocchi/api-paste.ini",
"owner": "gnocchi",
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/wsgi-gnocchi.conf",
"dest": "/etc/{{ gnocchi_dir }}/wsgi-gnocchi.conf",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment