use upstream repo for python if configured
This commit is contained in:
@@ -1,5 +1,16 @@
|
|||||||
{% from "postgres/map.jinja" import postgres with context %}
|
{% from "postgres/map.jinja" import postgres with context %}
|
||||||
|
|
||||||
|
include:
|
||||||
|
- postgres.upstream
|
||||||
|
|
||||||
postgresql-python:
|
postgresql-python:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- name: {{ postgres.pkg_python}}
|
- name: {{ postgres.pkg_python}}
|
||||||
|
{% if postgres.fromrepo %}
|
||||||
|
- fromrepo: {{ postgres.fromrepo }}
|
||||||
|
{% endif %}
|
||||||
|
{% if postgres.use_upstream_repo == true %}
|
||||||
|
- refresh: True
|
||||||
|
- require:
|
||||||
|
- pkgrepo: postgresql-repo
|
||||||
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user