diff --git a/postgres/client/init.sls b/postgres/client/init.sls index 26384c9..e220c67 100644 --- a/postgres/client/init.sls +++ b/postgres/client/init.sls @@ -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 %}