aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-10-17 10:17:26 +0000
committerGerrit Code Review <review@openstack.org>2016-10-17 10:17:26 +0000
commit5de08657540ca8e0be4dabfce922118c2b080a88 (patch)
treefb1b3ecc107366ae1495bdfd2b2ad333800b7796 /ansible
parentfbdcf34db77475cea6baeb4ce10d496378282ef7 (diff)
parent96515aefc9c5cae411aa91ce662ebb84afd81dda (diff)
downloadkolla-5de08657540ca8e0be4dabfce922118c2b080a88.tar.gz
kolla-5de08657540ca8e0be4dabfce922118c2b080a88.zip
Merge "Fix senlin upgrade permission issue"
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/senlin/templates/senlin-api.json.j27
-rw-r--r--ansible/roles/senlin/templates/senlin-engine.json.j27
2 files changed, 14 insertions, 0 deletions
diff --git a/ansible/roles/senlin/templates/senlin-api.json.j2 b/ansible/roles/senlin/templates/senlin-api.json.j2
index 7f77a9b91..0e287719b 100644
--- a/ansible/roles/senlin/templates/senlin-api.json.j2
+++ b/ansible/roles/senlin/templates/senlin-api.json.j2
@@ -7,5 +7,12 @@
"owner": "senlin",
"perm": "0600"
}
+ ],
+ "permissions": [
+ {
+ "path": "/var/log/kolla/senlin",
+ "owner": "senlin:senlin",
+ "recurse": true
+ }
]
}
diff --git a/ansible/roles/senlin/templates/senlin-engine.json.j2 b/ansible/roles/senlin/templates/senlin-engine.json.j2
index de63916f6..bc643475e 100644
--- a/ansible/roles/senlin/templates/senlin-engine.json.j2
+++ b/ansible/roles/senlin/templates/senlin-engine.json.j2
@@ -7,5 +7,12 @@
"owner": "senlin",
"perm": "0600"
}
+ ],
+ "permissions": [
+ {
+ "path": "/var/log/kolla/senlin",
+ "owner": "senlin:senlin",
+ "recurse": true
+ }
]
}