mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-16 09:40:26 +00:00
Merge pull request #204 from noelmcloughlin/python
use upstream repo for python if configured
This commit is contained in:
commit
6840bf3839
1 changed files with 8 additions and 0 deletions
|
@ -1,8 +1,16 @@
|
||||||
{% from tpldir + "/map.jinja" import postgres with context %}
|
{% from tpldir + "/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 %}
|
{% if postgres.fromrepo %}
|
||||||
- fromrepo: {{ postgres.fromrepo }}
|
- fromrepo: {{ postgres.fromrepo }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if postgres.use_upstream_repo == true %}
|
||||||
|
- refresh: True
|
||||||
|
- require:
|
||||||
|
- pkgrepo: postgresql-repo
|
||||||
|
{% endif %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue