Skip to content

Commit 761b1ca

Browse files
authored
Merge pull request #226 from noelmcloughlin/fromrepo2
add fromrepo support for pg client
2 parents 844ae97 + 04a09dc commit 761b1ca

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

postgres/client/init.sls

+5-2
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,14 @@ include:
1616
postgresql-client-libs:
1717
pkg.installed:
1818
- pkgs: {{ pkgs }}
19-
{%- if postgres.use_upstream_repo == true %}
19+
{%- if postgres.use_upstream_repo == true %}
2020
- refresh: True
2121
- require:
2222
- pkgrepo: postgresql-repo
23-
{%- endif %}
23+
{%- endif %}
24+
{%- if postgres.fromrepo %}
25+
- fromrepo: {{ postgres.fromrepo }}
26+
{%- endif %}
2427
2528
# Alternatives system. Make client binaries available in $PATH
2629
{%- if 'bin_dir' in postgres and postgres.linux.altpriority %}

0 commit comments

Comments
 (0)