Skip to content

Commit

Permalink
Update patroni.yml.j2 (#719)
Browse files Browse the repository at this point in the history
Avoid problem when jinja2 treats value 'on' as True. In result in pg config will be value True
  • Loading branch information
garry-t authored Aug 2, 2024
1 parent 9af7735 commit 05e360e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/patroni/templates/patroni.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ bootstrap:
use_slots: true
parameters:
{% for parameter in postgresql_parameters %}
{{ parameter.option }}: {{ parameter.value }}
{{ parameter.option }}: "{{ parameter.value }}"
{% endfor %}
{% if patroni_standby_cluster.host is defined and patroni_standby_cluster.host | length > 0 %}
standby_cluster:
Expand Down

0 comments on commit 05e360e

Please sign in to comment.