Files
postgres-formula/postgres/python.sls
Imran Iqbal 1f3cfccc0d fix(python.sls): fix salt-lint errors
```bash
Examining postgres/python.sls of type state
[206] Jinja variables should have spaces before and after: {{ var_name }}
postgres/python.sls:8
    - name: {{ postgres.pkg_python}}
```
2019-10-09 18:08:20 +01:00

17 lines
380 B
Plaintext

{% 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 postgres.use_upstream_repo == true %}
- refresh: True
- require:
- pkgrepo: postgresql-repo
{% endif %}