2018-05-02 15:54:53 +02:00
|
|
|
{% from tpldir + "/map.jinja" import postgres with context %}
|
2014-02-09 17:50:23 +01:00
|
|
|
|
2018-03-31 22:30:57 +01:00
|
|
|
include:
|
|
|
|
- postgres.upstream
|
|
|
|
|
2014-02-09 17:50:23 +01:00
|
|
|
postgresql-python:
|
2014-12-13 00:19:59 -07:00
|
|
|
pkg.installed:
|
2019-10-09 18:07:55 +01:00
|
|
|
- name: {{ postgres.pkg_python }}
|
2018-03-31 22:30:57 +01:00
|
|
|
{% if postgres.fromrepo %}
|
|
|
|
- fromrepo: {{ postgres.fromrepo }}
|
|
|
|
{% endif %}
|
2021-02-26 06:53:10 -03:00
|
|
|
{% if 'pkg_repo' in postgres and postgres.use_upstream_repo == true %}
|
2018-03-31 22:30:57 +01:00
|
|
|
- refresh: True
|
|
|
|
- require:
|
|
|
|
- pkgrepo: postgresql-repo
|
|
|
|
{% endif %}
|