Skip to content

Commit 5a46076

Browse files
authored
Merge pull request #192 from noelmcloughlin/alts
Fix suse alternatives #189
2 parents 9b6f86a + 7abdb58 commit 5a46076

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

postgres/osmap.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,33 @@ Suse:
124124
command: /usr/pgsql-{{ repo.version }}/bin/initdb --pgdata='{{ lib_dir }}'
125125
test: test -f '{{ lib_dir }}/PG_VERSION'
126126

127+
# Alternatives system
128+
linux:
129+
altpriority: 30
130+
131+
# directory containing PostgreSQL client executables
132+
bin_dir: /usr/pgsql-{{ repo.version }}/bin
133+
client_bins:
134+
- pg_archivecleanup
135+
- pg_config
136+
- pg_isready
137+
- pg_receivexlog
138+
- pg_rewind
139+
- pg_test_fsync
140+
- pg_test_timing
141+
- pg_upgrade
142+
- pg_xlogdump
143+
- pgbench
144+
server_bins:
145+
- initdb
146+
- pg_controldata
147+
- pg_ctl
148+
- pg_resetxlog
149+
- postgres
150+
- postgresql{{ release }}-check-db-dir
151+
- postgresql{{ release }}-setup
152+
- postmaster
153+
127154
{% else %}
128155

129156
pkg: postgresql-server

0 commit comments

Comments
 (0)