mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-16 01:30:25 +00:00
Fix suse alternatives #189
This commit is contained in:
parent
9b6f86aa95
commit
7abdb58ac7
1 changed files with 27 additions and 0 deletions
|
@ -124,6 +124,33 @@ Suse:
|
|||
command: /usr/pgsql-{{ repo.version }}/bin/initdb --pgdata='{{ lib_dir }}'
|
||||
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 %}
|
||||
|
||||
pkg: postgresql-server
|
||||
|
|
Loading…
Add table
Reference in a new issue