diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-10-17 12:13:31 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-10-17 12:13:31 +0000 |
| commit | 95cd123936956135d62ca675f1e5f198ed4e4a3f (patch) | |
| tree | f8c246eab28c90f4495a8155f94a6f75ba91025b /ansible | |
| parent | 37aa94866354cf32c19e138d91957915b8ec17e4 (diff) | |
| parent | b361fe8ea29c16a4115639c300f013a6823b76f4 (diff) | |
| download | kolla-95cd123936956135d62ca675f1e5f198ed4e4a3f.tar.gz kolla-95cd123936956135d62ca675f1e5f198ed4e4a3f.zip | |
Merge "Fix heat upgrade permission issue"
Diffstat (limited to 'ansible')
| -rw-r--r-- | ansible/roles/heat/templates/heat-api-cfn.json.j2 | 7 | ||||
| -rw-r--r-- | ansible/roles/heat/templates/heat-api.json.j2 | 9 | ||||
| -rw-r--r-- | ansible/roles/heat/templates/heat-engine.json.j2 | 7 |
3 files changed, 22 insertions, 1 deletions
diff --git a/ansible/roles/heat/templates/heat-api-cfn.json.j2 b/ansible/roles/heat/templates/heat-api-cfn.json.j2 index 6d10c115f..30f266582 100644 --- a/ansible/roles/heat/templates/heat-api-cfn.json.j2 +++ b/ansible/roles/heat/templates/heat-api-cfn.json.j2 @@ -7,5 +7,12 @@ "owner": "heat", "perm": "0600" } + ], + "permissions": [ + { + "path": "/var/log/kolla/heat", + "owner": "heat:heat", + "recurse": true + } ] } diff --git a/ansible/roles/heat/templates/heat-api.json.j2 b/ansible/roles/heat/templates/heat-api.json.j2 index 495ba4ec2..c198cbf4b 100644 --- a/ansible/roles/heat/templates/heat-api.json.j2 +++ b/ansible/roles/heat/templates/heat-api.json.j2 @@ -7,5 +7,12 @@ "owner": "heat", "perm": "0600" } - ] + ], + "permissions": [ + { + "path": "/var/log/kolla/heat", + "owner": "heat:heat", + "recurse": true + } + ] } diff --git a/ansible/roles/heat/templates/heat-engine.json.j2 b/ansible/roles/heat/templates/heat-engine.json.j2 index 19bf349e9..40d76a08f 100644 --- a/ansible/roles/heat/templates/heat-engine.json.j2 +++ b/ansible/roles/heat/templates/heat-engine.json.j2 @@ -13,5 +13,12 @@ "owner": "heat", "perm": "0600" } + ], + "permissions": [ + { + "path": "/var/log/kolla/heat", + "owner": "heat:heat", + "recurse": true + } ] } |
