From abaef496705c8972c8a4e569549cb64628bb0d6a Mon Sep 17 00:00:00 2001 From: Oleksii Kliukin Date: Fri, 29 Jan 2016 09:05:52 +0100 Subject: [PATCH] Disable auth in order to use patronictl with the default configuration, remove obsolete replication_methods like. --- postgres0.yml | 3 +-- postgres1.yml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/postgres0.yml b/postgres0.yml index 36018ad5..244a0f19 100644 --- a/postgres0.yml +++ b/postgres0.yml @@ -4,7 +4,7 @@ scope: &scope batman restapi: listen: 127.0.0.1:8008 connect_address: 127.0.0.1:8008 - auth: 'username:password' +# auth: 'username:password' # certfile: /etc/ssl/certs/ssl-cert-snakeoil.pem # keyfile: /etc/ssl/private/ssl-cert-snakeoil.key etcd: @@ -72,7 +72,6 @@ postgresql: - basebackup # - wal_e # commented-out example for wal-e provisioning - #create_replica_method: wal_e, basebackup #wal_e: #command: /patroni/scripts/wale_restore.py #env_dir: /etc/wal-e.d/env diff --git a/postgres1.yml b/postgres1.yml index e1b61b3b..58fc308c 100644 --- a/postgres1.yml +++ b/postgres1.yml @@ -4,7 +4,7 @@ scope: &scope batman restapi: listen: 127.0.0.1:8009 connect_address: 127.0.0.1:8009 - auth: 'username:password' +# auth: 'username:password' # certfile: /etc/ssl/certs/ssl-cert-snakeoil.pem # keyfile: /etc/ssl/private/ssl-cert-snakeoil.key etcd: