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