mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-16 01:30:25 +00:00
add fromrepo support for client binaries
This commit is contained in:
parent
81919a9d46
commit
04a09dcc36
1 changed files with 5 additions and 2 deletions
|
@ -16,11 +16,14 @@ include:
|
||||||
postgresql-client-libs:
|
postgresql-client-libs:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- pkgs: {{ pkgs }}
|
- pkgs: {{ pkgs }}
|
||||||
{%- if postgres.use_upstream_repo == true %}
|
{%- if postgres.use_upstream_repo == true %}
|
||||||
- refresh: True
|
- refresh: True
|
||||||
- require:
|
- require:
|
||||||
- pkgrepo: postgresql-repo
|
- pkgrepo: postgresql-repo
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
{%- if postgres.fromrepo %}
|
||||||
|
- fromrepo: {{ postgres.fromrepo }}
|
||||||
|
{%- endif %}
|
||||||
|
|
||||||
# Alternatives system. Make client binaries available in $PATH
|
# Alternatives system. Make client binaries available in $PATH
|
||||||
{%- if 'bin_dir' in postgres and postgres.linux.altpriority %}
|
{%- if 'bin_dir' in postgres and postgres.linux.altpriority %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue