RedHat: make client binaries available in $PATH

This commit is contained in:
Denys Havrysh
2016-09-26 13:57:55 +03:00
parent ea8c88c601
commit d5dcac95a7
5 changed files with 74 additions and 22 deletions

View File

@@ -6,14 +6,14 @@
{%- if postgres.use_upstream_repo -%}
# Add upstream repository for your distro
install-postgresql-repo:
postgresql-repo:
pkgrepo.managed:
{{- format_kwargs(postgres.pkg_repo) }}
{%- else -%}
# Remove the repo configuration (and GnuPG key) as requested
remove-postgresql-repo:
postgresql-repo:
pkgrepo.absent:
- name: {{ postgres.pkg_repo.name }}
{%- if 'pkg_repo_keyid' in postgres %}
@@ -25,7 +25,7 @@ remove-postgresql-repo:
{%- else -%}
# Notify that we don't manage this distro
install-postgresql-repo:
postgresql-repo:
test.show_notification:
- text: |
PostgreSQL does not provide package repository for {{ grains['osfinger'] }}