diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-10-18 02:55:02 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-10-18 02:55:02 +0000 |
| commit | 62b7fc99e675c88b5102cd9483729662eb5b6c0c (patch) | |
| tree | 9d827d1bae88b60c3c9ad518c92f6f0f175b8309 | |
| parent | a67e632ad3468d93f41655fa0a43d6d30088e35d (diff) | |
| parent | e95722522a66161d9bb2e6fe4bc4050c962bfcbd (diff) | |
| download | kolla-62b7fc99e675c88b5102cd9483729662eb5b6c0c.tar.gz kolla-62b7fc99e675c88b5102cd9483729662eb5b6c0c.zip | |
Merge "Fix influxdb upgrade permission issue"
| -rw-r--r-- | ansible/roles/influxdb/templates/influxdb.json.j2 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ansible/roles/influxdb/templates/influxdb.json.j2 b/ansible/roles/influxdb/templates/influxdb.json.j2 index 2c4c6b3b0..3ffa2fe3a 100644 --- a/ansible/roles/influxdb/templates/influxdb.json.j2 +++ b/ansible/roles/influxdb/templates/influxdb.json.j2 @@ -7,5 +7,17 @@ "owner": "influxdb", "perm": "0600" } + ], + "permissions": [ + { + "path": "/var/lib/influxdb", + "owner": "influxdb:influxdb", + "recurse": true + }, + { + "path": "/var/log/kolla/influxdb", + "owner": "influxdb:influxdb", + "recurse": true + } ] } |
