* debian/pg_createconfig_patroni: Make variable-substitution globally.
This commit is contained in:
parent
b2261bfc33
commit
a9e6731ada
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -1,6 +1,7 @@
|
|||
patroni (1.5.1-2) UNRELEASED; urgency=medium
|
||||
|
||||
*
|
||||
[ Michael Banck ]
|
||||
* debian/pg_createconfig_patroni: Make variable-substitution globally.
|
||||
|
||||
-- Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> Mon, 05 Nov 2018 11:43:09 +0100
|
||||
|
||||
|
|
6
debian/pg_createconfig_patroni
vendored
6
debian/pg_createconfig_patroni
vendored
|
@ -75,7 +75,7 @@ echo "" >> $CONFIG_FILE
|
|||
|
||||
# add remaining patroni configuration from template
|
||||
cat /etc/patroni/config.yml.in | \
|
||||
sed -e s/@VERSION@/${VERSION}/ \
|
||||
-e s/@CLUSTER@/${CLUSTER}/ \
|
||||
-e s/@HOSTIP@/${HOSTIP}/ \
|
||||
sed -e s/@VERSION@/${VERSION}/g \
|
||||
-e s/@CLUSTER@/${CLUSTER}/g \
|
||||
-e s/@HOSTIP@/${HOSTIP}/g \
|
||||
>> $CONFIG_FILE
|
||||
|
|
Loading…
Reference in a new issue