Homebrew Postgres on MacOS

This commit is contained in:
noelmcloughlin
2018-03-08 12:30:25 +00:00
parent 1e527c4b91
commit a34a4c270c
12 changed files with 60 additions and 38 deletions

View File

@@ -3,7 +3,7 @@
{%- if 'pkg_repo' in postgres -%}
{%- if postgres.use_upstream_repo -%}
{%- if postgres.use_upstream_repo == true -%}
# Add upstream repository for your distro
postgresql-repo:
@@ -25,9 +25,11 @@ postgresql-repo:
{%- else -%}
# Notify that we don't manage this distro
{% if grains.os not in ('Windows', 'MacOS',) %}
postgresql-repo:
test.show_notification:
- text: |
PostgreSQL does not provide package repository for {{ grains['osfinger'] }}
{% endif %}
{%- endif %}