* debian/tests/acceptance: Add support for consul as DCS.

This commit is contained in:
Michael Banck 2019-01-27 14:19:16 +01:00
parent 2f91093efa
commit 65557e4cc6
2 changed files with 6 additions and 0 deletions

1
debian/changelog vendored
View file

@ -17,6 +17,7 @@ patroni (1.5.4-3) UNRELEASED; urgency=medium
in /etc/default/zookeepr if DCS is zookeeper.
* debian/config.yml.in: Set use_pg_rewind to false and add
remove_data_directory_on_diverged_timelines option.
* debian/tests/acceptance: Add support for consul as DCS.
-- Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> Mon, 21 Jan 2019 17:10:49 +0100

View file

@ -25,6 +25,11 @@ else
SU='bash -c'
fi
if [ -x /usr/bin/consul ]
then
DCS=consul
fi
# clean up afterwards
trap 'rm -f /tmp/pgpass?; if [ $(id -u) -eq 0 ] && [ -x /etc/init.d/zookeeper ]; then /etc/init.d/zookeeper stop; fi' 0 2 3 15