Add switch to install contrib package

This commit is contained in:
Alan Pearce
2015-02-14 17:30:12 +00:00
parent 8b8b19b3b2
commit 3baf9ca8e1
2 changed files with 7 additions and 0 deletions

View File

@@ -58,6 +58,12 @@ install-postgres-libpq-dev:
- name: {{ postgres.pkg_libpq_dev }}
{% endif %}
{% if postgres.pkg_contrib != False %}
install-postgres-contrib:
pkg.installed:
- name: {{ postgres.pkg_contrib }}
{% endif %}
{% if 'postgresconf' in pillar.get('postgres', {}) %}
postgresql-conf:
file.blockreplace: