Fix suse alternatives #189
This commit is contained in:
@@ -124,6 +124,33 @@ Suse:
|
|||||||
command: /usr/pgsql-{{ repo.version }}/bin/initdb --pgdata='{{ lib_dir }}'
|
command: /usr/pgsql-{{ repo.version }}/bin/initdb --pgdata='{{ lib_dir }}'
|
||||||
test: test -f '{{ lib_dir }}/PG_VERSION'
|
test: test -f '{{ lib_dir }}/PG_VERSION'
|
||||||
|
|
||||||
|
# Alternatives system
|
||||||
|
linux:
|
||||||
|
altpriority: 30
|
||||||
|
|
||||||
|
# directory containing PostgreSQL client executables
|
||||||
|
bin_dir: /usr/pgsql-{{ repo.version }}/bin
|
||||||
|
client_bins:
|
||||||
|
- pg_archivecleanup
|
||||||
|
- pg_config
|
||||||
|
- pg_isready
|
||||||
|
- pg_receivexlog
|
||||||
|
- pg_rewind
|
||||||
|
- pg_test_fsync
|
||||||
|
- pg_test_timing
|
||||||
|
- pg_upgrade
|
||||||
|
- pg_xlogdump
|
||||||
|
- pgbench
|
||||||
|
server_bins:
|
||||||
|
- initdb
|
||||||
|
- pg_controldata
|
||||||
|
- pg_ctl
|
||||||
|
- pg_resetxlog
|
||||||
|
- postgres
|
||||||
|
- postgresql{{ release }}-check-db-dir
|
||||||
|
- postgresql{{ release }}-setup
|
||||||
|
- postmaster
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
pkg: postgresql-server
|
pkg: postgresql-server
|
||||||
|
|||||||
Reference in New Issue
Block a user