Package: patroni
Version: 1.5.5-1
Severity: serious

Dear Maintainer,

the default /etc/patroni/dcs.yml file includes some comments for othe
DCS systems like etcd and consul.

If those comments are not removed, pg_createconfig_patroni fails to
write the configuration file and renders the package unusable without
further manual intervention:

root@pg1:~# cat /etc/patroni/dcs.yml 
#etcd:
#  host: 127.0.0.1:2379

#consul:
#  host: http://127.0.0.1:8500
#  host: https://127.0.0.1:8500

zookeeper:
  hosts: 127.0.0.1:2181
root@pg1:~# pg_createconfig_patroni 11 test
sed: -e expression #8, char 76: unknown option to `s'
root@pg1:~# ls -l /etc/patroni/11-test.yml
-rw-rw---- 1 postgres postgres 0 Jun  5 09:04 /etc/patroni/11-test.yml
root@pg1:~#  


Michael

-- System Information:
Debian Release: 8.10
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to