mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-10 23:01:45 +00:00
16 lines
407 B
Text
16 lines
407 B
Text
{% from tpldir + "/map.jinja" import postgres with context %}
|
|
|
|
include:
|
|
- postgres.upstream
|
|
|
|
postgresql-python:
|
|
pkg.installed:
|
|
- name: {{ postgres.pkg_python }}
|
|
{% if postgres.fromrepo %}
|
|
- fromrepo: {{ postgres.fromrepo }}
|
|
{% endif %}
|
|
{% if 'pkg_repo' in postgres and postgres.use_upstream_repo == true %}
|
|
- refresh: True
|
|
- require:
|
|
- pkgrepo: postgresql-repo
|
|
{% endif %}
|