Skip to content

Commit 6840bf3

Browse files
Merge pull request #204 from noelmcloughlin/python
use upstream repo for python if configured
2 parents 800259d + e6be41a commit 6840bf3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

postgres/python.sls

+8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
{% from tpldir + "/map.jinja" import postgres with context %}
22
3+
include:
4+
- postgres.upstream
5+
36
postgresql-python:
47
pkg.installed:
58
- name: {{ postgres.pkg_python}}
69
{% if postgres.fromrepo %}
710
- fromrepo: {{ postgres.fromrepo }}
811
{% endif %}
12+
{% if postgres.use_upstream_repo == true %}
13+
- refresh: True
14+
- require:
15+
- pkgrepo: postgresql-repo
16+
{% endif %}

0 commit comments

Comments
 (0)