* debian/tests/acceptance: Add support for consul as DCS.
This commit is contained in:
parent
2f91093efa
commit
65557e4cc6
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -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
|
||||
|
||||
|
|
5
debian/tests/acceptance
vendored
5
debian/tests/acceptance
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue