Commit graph

18 commits

Author SHA1 Message Date
Michael Banck 2dfc33b913 * debian/pg_createconfig_patroni: Add --vip option and write out a
vip-manager configuration if present.
  * debian/config.yml.in: Add @LISTEN_VIP@ tag.
2019-11-15 19:12:14 +01:00
Michael Banck 6e919a8ad3 * debian/config.yml.in: Set use_pg_rewind to false again. 2019-02-15 23:36:26 +01:00
Michael Banck a57e0af6f6 * debian/config.yml.in: Set remove_data_directory_on_rewind_failure and
use_pg_rewind to true.
2019-02-08 17:41:25 +01:00
Michael Banck 73515105b2 * debian/pg_createconfig_patroni: Determine Patroni API port dynamically and
add @API_PORT@ substitution.
  * debian/config.yml.in: Replace API port by @API_PORT@.
2019-02-04 14:52:12 +01:00
Michael Banck b74f8e56f7 Further refine comments 2019-01-30 15:13:22 +01:00
Michael Banck 6416e181cd * debian/config.yml.in: Add comments. 2019-01-30 15:08:39 +01:00
Michael Banck 7ad46a1ff2 * debian/config.yml.in: Create pgpass file under /var/lib/postgresql. 2019-01-30 14:58:28 +01:00
Michael Banck 1d92f074a2 * debian/config.yml.in: Set postgresql.pgpass option and add a commented-out
pg_hba line for md5 connections from the local network.
2019-01-30 12:55:32 +01:00
Michael Banck c6dae1036f * debian/config.yml.in: Remove local network md5 pg_hba entry, no longer
needed.
2019-01-28 22:22:14 +01:00
Michael Banck 0efd0e0171 * debian/config.yml.in: Set pg_hba in bootstrap.dcs.postgresql section. This
way, it will be picked up by replicas as well.  As the pg_hba.conf file is
    created from scratch in this case, also add the default values.
2019-01-28 15:58:01 +01:00
Michael Banck 5b93c19bbf * debian/config.yml.in: Make PostgreSQL to also listen to 127.0.0.1 by
default.
2019-01-28 14:19:41 +01:00
Michael Banck 2f91093efa * debian/config.yml.in: Set use_pg_rewind to false and add
remove_data_directory_on_diverged_timelines option.
2019-01-27 14:18:37 +01:00
Michael Banck 27d8f4f163 * debian/pg_createconfig_patroni: Add support for --network switch and set
$NETWORK variable to local network if not set.
  * debian/config.yml.in: Allow replication and client connections from
    @NETWORK@ network.
2019-01-21 17:08:28 +01:00
Michael Banck 109fe3c4f4 * debian/config.yml.in: Commented out pgpass directive. 2019-01-21 17:04:53 +01:00
Michael Banck f0d6e56a90 * debian/config.yml.in: Remove DCS-related commented-out lines and replace
them with @DCS_CONFIG@ placeholder.
2019-01-21 14:42:21 +01:00
Michael Banck 1331953756 * debian/config.yml.in: Add @PORT@ option. 2019-01-15 16:40:27 +01:00
Michael Banck 16654bdd45 * debian/config.yml.in: Updated with more comments and using the postgres
user with local sockets as default mode.
2019-01-14 21:01:56 +01:00
Michael Banck 8cb3cbda6e * debian/pg_createconfig_patroni: New script.
* debian/dcs.yml, debian/config.yml.in: New configuration templates.
  * debian/patroni.install: Install new script to /usr/bin and configuration
    templates to /etc/patroni.
2018-11-05 08:49:40 +01:00