Skip to content

Commit 05e360e

Browse files
authored
Update patroni.yml.j2 (#719)
Avoid problem when jinja2 treats value 'on' as True. In result in pg config will be value True
1 parent 9af7735 commit 05e360e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/patroni/templates/patroni.yml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ bootstrap:
9090
use_slots: true
9191
parameters:
9292
{% for parameter in postgresql_parameters %}
93-
{{ parameter.option }}: {{ parameter.value }}
93+
{{ parameter.option }}: "{{ parameter.value }}"
9494
{% endfor %}
9595
{% if patroni_standby_cluster.host is defined and patroni_standby_cluster.host | length > 0 %}
9696
standby_cluster:

0 commit comments

Comments
 (0)