Files
postgres-formula/postgres/client.sls
Roman Inflianskas b71fa41bfd small refactoring
2015-11-23 14:50:51 +03:00

18 lines
403 B
Plaintext

{% from "postgres/map.jinja" import postgres with context %}
{% if postgres.use_upstream_repo %}
include:
- postgres.upstream
{% endif %}
install-postgresql-client:
pkg.installed:
- name: {{ postgres.pkg_client }}
- refresh: {{ postgres.use_upstream_repo }}
{% if postgres.pkg_libpq_dev %}
install-postgres-libpq-dev:
pkg.installed:
- name: {{ postgres.pkg_libpq_dev }}
{% endif %}