Option to disable installation of pkg_libpq_dev

This commit is contained in:
Bernd Schlapsi 2015-01-04 00:02:41 +01:00
parent 46a6338cdf
commit 3e0b210d5d

View file

@ -39,8 +39,11 @@ install-postgres-dev-package:
- name: {{ postgres.pkg_dev }}
{% endif %}
{{ postgres.pkg_libpq_dev }}:
{% if postgres.pkg_libpq_dev != False %}
install-postgres-libpq-dev
pkg.installed
- name: {{ postgres.pkg_libpq_dev }}:
{% endif %}
{% if 'postgresconf' in pillar.get('postgres', {}) %}
postgresql-conf: