Document that every single zookeeper host:port MUST be quoted

otherwise yaml library can not parse the list.
And make visible yaml exception when trying to parse this list.
This commit is contained in:
Alexander Kukushkin
2016-06-29 14:25:50 +02:00
parent 0c6a1307da
commit ae88e7c96e
4 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ class TestConfig(unittest.TestCase):
'PATRONI_POSTGRESQL_PGPASS': '/tmp/pgpass0',
'PATRONI_ETCD_HOST': '127.0.0.1:2379',
'PATRONI_CONSUL_HOST': '127.0.0.1:8500',
'PATRONI_ZOOKEEPER_HOSTS': 'host1,host2',
'PATRONI_ZOOKEEPER_HOSTS': "'host1:2181','host2:2181'",
'PATRONI_EXHIBITOR_HOSTS': 'host1,host2',
'PATRONI_EXHIBITOR_PORT': '8181',
'PATRONI_foo_HOSTS': '[host1,host2', # Exception in parse_list