diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-10-17 07:57:54 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-10-17 07:57:54 +0000 |
| commit | c6a0bb951ec93d1065cd78fff93be1b179d686d6 (patch) | |
| tree | bb6cc694947ddb81140cb5915ed3c52fcb81a225 /ansible | |
| parent | e29a09df239e36991f5210da3934ee291a47a4ec (diff) | |
| parent | 2b7abb600a571b7c8db84417d58937176548fc9d (diff) | |
| download | kolla-c6a0bb951ec93d1065cd78fff93be1b179d686d6.tar.gz kolla-c6a0bb951ec93d1065cd78fff93be1b179d686d6.zip | |
Merge "Fix watcher upgrade permission issue"
Diffstat (limited to 'ansible')
| -rw-r--r-- | ansible/roles/watcher/templates/watcher-api.json.j2 | 7 | ||||
| -rw-r--r-- | ansible/roles/watcher/templates/watcher-applier.json.j2 | 7 | ||||
| -rw-r--r-- | ansible/roles/watcher/templates/watcher-engine.json.j2 | 7 |
3 files changed, 21 insertions, 0 deletions
diff --git a/ansible/roles/watcher/templates/watcher-api.json.j2 b/ansible/roles/watcher/templates/watcher-api.json.j2 index 6834e719d..422313e77 100644 --- a/ansible/roles/watcher/templates/watcher-api.json.j2 +++ b/ansible/roles/watcher/templates/watcher-api.json.j2 @@ -7,5 +7,12 @@ "owner": "watcher", "perm": "0644" } + ], + "permissions": [ + { + "path": "/var/log/kolla/watcher", + "owner": "watcher:watcher", + "recurse": true + } ] } diff --git a/ansible/roles/watcher/templates/watcher-applier.json.j2 b/ansible/roles/watcher/templates/watcher-applier.json.j2 index f53d8ba81..2fae81a0e 100644 --- a/ansible/roles/watcher/templates/watcher-applier.json.j2 +++ b/ansible/roles/watcher/templates/watcher-applier.json.j2 @@ -7,5 +7,12 @@ "owner": "watcher", "perm": "0644" } + ], + "permissions": [ + { + "path": "/var/log/kolla/watcher", + "owner": "watcher:watcher", + "recurse": true + } ] } diff --git a/ansible/roles/watcher/templates/watcher-engine.json.j2 b/ansible/roles/watcher/templates/watcher-engine.json.j2 index ee8a2aec1..acf60e930 100644 --- a/ansible/roles/watcher/templates/watcher-engine.json.j2 +++ b/ansible/roles/watcher/templates/watcher-engine.json.j2 @@ -7,5 +7,12 @@ "owner": "watcher", "perm": "0644" } + ], + "permissions": [ + { + "path": "/var/log/kolla/watcher", + "owner": "watcher:watcher", + "recurse": true + } ] } |
