aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-03-09 04:17:50 +0000
committerGerrit Code Review <review@openstack.org>2016-03-09 04:17:50 +0000
commitf14b931286b24a9d0c75239ef4cae0144d3a2bba (patch)
treeafbc50c9900161e622488ee0235122f75416d2bd /ansible
parent8c2351ed7da9b4a8c4e0202bf071ffd2dbaa925b (diff)
parent12d6eeceb5dc1021d66aa89930606cc9bc04e79f (diff)
downloadkolla-f14b931286b24a9d0c75239ef4cae0144d3a2bba.tar.gz
kolla-f14b931286b24a9d0c75239ef4cae0144d3a2bba.zip
Merge "Copy the logs out of the container"
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/common/templates/heka-haproxy.toml.j22
-rw-r--r--ansible/roles/common/templates/heka-swift.toml.j21
2 files changed, 3 insertions, 0 deletions
diff --git a/ansible/roles/common/templates/heka-haproxy.toml.j2 b/ansible/roles/common/templates/heka-haproxy.toml.j2
index f30dd32d5..102356906 100644
--- a/ansible/roles/common/templates/heka-haproxy.toml.j2
+++ b/ansible/roles/common/templates/heka-haproxy.toml.j2
@@ -6,9 +6,11 @@ type = "FileOutput"
message_matcher = "Fields[programname] =~ /(?i:haproxy)/"
path = "/var/log/kolla/haproxy/haproxy.log"
encoder = "syslog_encoder"
+folder_perm = "755"
[keepalived_file_output]
type = "FileOutput"
message_matcher = "Fields[programname] =~ /(?i:keepalived)/"
path = "/var/log/kolla/haproxy/keepalived.log"
encoder = "syslog_encoder"
+folder_perm = "755"
diff --git a/ansible/roles/common/templates/heka-swift.toml.j2 b/ansible/roles/common/templates/heka-swift.toml.j2
index 8ed4a1e23..2bd9443f3 100644
--- a/ansible/roles/common/templates/heka-swift.toml.j2
+++ b/ansible/roles/common/templates/heka-swift.toml.j2
@@ -6,3 +6,4 @@ type = "FileOutput"
message_matcher = "Fields[programname] == '{{ item }}'"
path = "/var/log/kolla/swift/{{ item }}.log"
encoder = "syslog_encoder"
+folder_perm = "755"