library/roles/postgresql/templates/pgpool.conf.j2: Fix the recovery password settings

This commit is contained in:
Andrea Dell'Amico 2016-06-08 15:23:07 +02:00
parent 64f27c2b98
commit 17c3d09e4e
1 changed files with 2 additions and 2 deletions

View File

@ -421,10 +421,10 @@ search_primary_node_timeout = 10
recovery_user = '{{ pgpool_recovery_user }}'
# Online recovery user
{% if pgpool_recovery_user_pwd is defined %}
recovery_password = '{{ pgpool_recovery_user_pwd | default([]) }}'
recovery_password = '{{ pgpool_recovery_user_pwd | default() }}'
# Online recovery password
{% else %}
recovery_password = '{{ pgpool_recovery_user_pwd | default([]) }}'
recovery_password = ''
{% endif %}
recovery_1st_stage_command = '{{ pgpool_recovery_stage1_script }}'
# Executes a command in first stage