aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
authorJames McCarthy <james.m.mccarthy@oracle.com>2016-10-28 16:38:01 +0100
committerJames McCarthy <james.m.mccarthy@oracle.com>2016-10-28 16:44:14 +0100
commit790c6b2a9fb007a0b3fa847a4617baf9a4b16298 (patch)
tree67f778fa4d9eae9d1b6b34fa81e8aa531887a1ae /ansible
parent198e8d2d6f9249864c6d589c33c48b81b45e5add (diff)
downloadkolla-790c6b2a9fb007a0b3fa847a4617baf9a4b16298.tar.gz
kolla-790c6b2a9fb007a0b3fa847a4617baf9a4b16298.zip
Adjust object-replicator heading within object.conf.j2 template.
The swift-object-auditor logs many complaints of missing object-replicator configuration, as this section is undefined. Move the header outside of the == 'swift-object-replicator' check, so other services will get an empty section to stop complaints. TrivialFix Closes-Bug: #1637561 Change-Id: I9c8d960b0c31e448afdeaac5f3d38e1be5ff965d
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/swift/templates/object.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/swift/templates/object.conf.j2 b/ansible/roles/swift/templates/object.conf.j2
index ae4f08fd5..bd8b25fa9 100644
--- a/ansible/roles/swift/templates/object.conf.j2
+++ b/ansible/roles/swift/templates/object.conf.j2
@@ -23,8 +23,8 @@ use = egg:swift#object
[object-auditor]
{% endif %}
-{% if service_name == 'swift-object-replicator' %}
[object-replicator]
+{% if service_name == 'swift-object-replicator' %}
sync_module = {replication_ip}:{meta}:object
{% endif %}