diff --git a/postgres/init.sls b/postgres/init.sls index 89c748f..7e38671 100644 --- a/postgres/init.sls +++ b/postgres/init.sls @@ -10,6 +10,9 @@ postgresql: - name: {{ postgres.service }} - require: - pkg: {{ postgres.pkg }} + +postgresql-server-dev-9.3: + pkg.installed {% if 'pg_hba.conf' in pillar.get('postgres', {}) %} pg_hba.conf: