Michael Banck
3d12adbb69
* debian/pg_createconfig_patroni: Fix determination of host IP/network if `ip
...
route get' reports additional output (Closes : #930015 ).
2019-06-05 11:09:30 +02:00
Michael Banck
d2c87e9e76
* debian/pg_createconfig_patroni: Filter out comments from
...
/etc/patroni/dcs.yml when assembling the Patroni configuration file.
2019-05-21 22:14:34 +02:00
Michael Banck
cfc3c81075
* debian/pg_createconfig_patroni: Remove obsolete SCOPE parsing code.
2019-02-08 15:48:50 +01:00
Michael Banck
7dbc251dd2
* debian/pg_createconfig_patroni: Remove debugging output and fix premature
...
exit.
2019-02-08 15:21:36 +01:00
Michael Banck
9dac6883f9
* debian/pg_creatconfig_patroni: Remove --scope option in favor of
...
pg_createcluster's regular "[options] <version> <cluster name>" syntax.
2019-02-07 17:58:52 +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
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
48cc554f41
* debian/pg_createconfig_patroni: Load DCS configuration into $DCS_CONFIG
...
variable and replace both @HOSTNAME@ and @DCS_CONFIG@ placeholders in
config template.
2019-01-21 14:43:53 +01:00
Michael Banck
e22dafae50
* debian/pg_createconfig_patroni: Set default port if no clusters exist yet.
2019-01-15 18:09:30 +01:00
Michael Banck
9c475d93c7
* debian/pg_createconfig_patroni: Fix error handling if port is already in use.
2019-01-15 16:58:06 +01:00
Michael Banck
ba9d9787cd
* debian/pg_createconfig_patroni: Make sure $HOSTIP has no spaces.
2019-01-15 16:52:55 +01:00
Michael Banck
fc45e29545
* debian/pg_createconfig_patroni: Add --port option and automatically assign
...
the next free pg-common port if not specified.
2019-01-15 16:41:13 +01:00
Michael Banck
4724130eb7
* debian/pg_createconfig_patroni: Set owner of Patroni configuration file to
...
postgres.
2019-01-14 21:00:56 +01:00
Michael Banck
a9e6731ada
* debian/pg_createconfig_patroni: Make variable-substitution globally.
2018-11-10 17:29:46 +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