From 681911ff876d9712e8018f3bb3af4f5ec476baa3 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 16 Oct 2018 21:26:40 +0200 Subject: [PATCH] try to_yaml to fix unicode in lists --- templates/postgresql/data/postgresql.conf.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/postgresql/data/postgresql.conf.j2 b/templates/postgresql/data/postgresql.conf.j2 index f02afaa..b61ac91 100644 --- a/templates/postgresql/data/postgresql.conf.j2 +++ b/templates/postgresql/data/postgresql.conf.j2 @@ -26,12 +26,12 @@ # - Connection Settings - -listen_addresses = {{ postgres_connection_addresses | list | join(",") }} +listen_addresses = '{{ postgres_connection_addresses | to_yaml | join(",") }}' port = {{ postgres_connection_port }} max_connections = 100 #superuser_reserved_connections = 3 unix_socket_directories = '{{ postgres_socket_directories }}' -#unix_socket_group = '{{ postgres_socket_directories | list | join(",") }}' +#unix_socket_group = '{{ postgres_socket_directories | to_yaml | join(",") }}' #unix_socket_permissions = 0777 #bonjour = off #bonjour_name = '' @@ -132,7 +132,7 @@ dynamic_shared_memory_type = posix # - Where to Log - -log_destination = '{{ postgres_log_destination | list | join(",") }}' +log_destination = '{{ postgres_log_destination | to_yaml | join(",") }}' # This is used when logging to stderr: {% if "stderr" in postgres_log_destination or "csvlog" in postgres_log_destination %} logging_collector = on