diff options
| author | zhubingbing <1392607554@qq.com> | 2016-09-23 08:25:54 +0000 |
|---|---|---|
| committer | zhubingbing <1392607554@qq.com> | 2016-09-27 07:10:56 +0000 |
| commit | 6b321051a750011eb04bc5ac3239a546f990dde4 (patch) | |
| tree | 2c1589bab577fe6ca157bb52e81b1e7076d03b5c | |
| parent | af9ea973e81b3376ae7e434e7724b2957786783b (diff) | |
| download | kolla-6b321051a750011eb04bc5ac3239a546f990dde4.tar.gz kolla-6b321051a750011eb04bc5ac3239a546f990dde4.zip | |
change perm and user wsgi file permission
change perm 0640 to 0600
change gnocchi user to root, because wsgi config should use root user
TrivialFix
Change-Id: I474788d4d402aaf085534ea15b554d9c69fb1e56
| -rw-r--r-- | ansible/roles/aodh/templates/aodh-api.json.j2 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ansible/roles/aodh/templates/aodh-api.json.j2 b/ansible/roles/aodh/templates/aodh-api.json.j2 index ced2d1b6d..fc6b0b081 100644 --- a/ansible/roles/aodh/templates/aodh-api.json.j2 +++ b/ansible/roles/aodh/templates/aodh-api.json.j2 @@ -7,13 +7,13 @@ "source": "{{ container_config_directory }}/aodh.conf", "dest": "/etc/aodh/aodh.conf", "owner": "aodh", - "perm": "0644" + "perm": "0600" }, { "source": "{{ container_config_directory }}/wsgi-aodh.conf", "dest": "/etc/{{ aodh_dir }}/wsgi-aodh.conf", - "owner": "aodh", - "perm": "0644" + "owner": "root", + "perm": "0600" } ] } |
