Support only including postgres.client

This commit is contained in:
Toby Brain
2016-09-22 11:22:24 +10:00
parent b972237104
commit b043047af4
3 changed files with 8 additions and 4 deletions

View File

@@ -9,8 +9,6 @@ install-postgresql-repo:
- keyid: B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8
- keyserver: keyserver.ubuntu.com
- file: {{ postgres.pkg_repo_file }}
- require_in:
- pkg: postgresql-installed
{%- elif grains['os_family'] == 'RedHat' -%}
@@ -27,7 +25,5 @@ install-postgresql-repo:
- gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG
- require:
- file: install-postgresql-repo
- require_in:
- pkg: postgresql-installed
{%- endif %}