postgres-formula/postgres/python.sls

17 lines
379 B
Text
Raw Normal View History

{% from tpldir + "/map.jinja" import postgres with context %}
include:
- postgres.upstream
postgresql-python:
2014-12-13 00:19:59 -07:00
pkg.installed:
2018-03-20 14:15:44 +00:00
- name: {{ postgres.pkg_python}}
{% if postgres.fromrepo %}
- fromrepo: {{ postgres.fromrepo }}
{% endif %}
{% if postgres.use_upstream_repo == true %}
- refresh: True
- require:
- pkgrepo: postgresql-repo
{% endif %}