aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-10-17 12:13:31 +0000
committerGerrit Code Review <review@openstack.org>2016-10-17 12:13:31 +0000
commit95cd123936956135d62ca675f1e5f198ed4e4a3f (patch)
treef8c246eab28c90f4495a8155f94a6f75ba91025b
parent37aa94866354cf32c19e138d91957915b8ec17e4 (diff)
parentb361fe8ea29c16a4115639c300f013a6823b76f4 (diff)
downloadkolla-95cd123936956135d62ca675f1e5f198ed4e4a3f.tar.gz
kolla-95cd123936956135d62ca675f1e5f198ed4e4a3f.zip
Merge "Fix heat upgrade permission issue"
-rw-r--r--ansible/roles/heat/templates/heat-api-cfn.json.j27
-rw-r--r--ansible/roles/heat/templates/heat-api.json.j29
-rw-r--r--ansible/roles/heat/templates/heat-engine.json.j27
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
+ }
]
}