From 04a09dcc3655ad7086c1da6f8d904c440766ca19 Mon Sep 17 00:00:00 2001 From: N Date: Sat, 16 Jun 2018 21:02:01 +0100 Subject: [PATCH] add fromrepo support for client binaries --- postgres/client/init.sls | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 %}