add fromrepo support for client binaries
This commit is contained in:
@@ -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 %}
|
||||||
|
|||||||
Reference in New Issue
Block a user