mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-16 09:40:26 +00:00
Merge pull request #192 from noelmcloughlin/alts
Fix suse alternatives #189
This commit is contained in:
commit
5a46076f45
1 changed files with 27 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue