Set sane defaults when use_upstream_repo and version Pillars are set

This commit is contained in:
Denys Havrysh
2016-09-03 15:15:56 +03:00
parent 6651ddc498
commit 8db04833c2
6 changed files with 83 additions and 44 deletions

View File

@@ -1,13 +1,20 @@
postgres:
pg_hba.conf: salt://postgres/pg_hba.conf
# Set True to configure upstream postgresql.org repository for YUM or APT
use_upstream_repo: False
# Version to install from upstream repository
version: '9.3'
# This is Debian/Ubuntu specific package names
pkg: 'postgresql-9.3'
pkg_client: 'postgresql-client-9.3'
# Addtional packages to install, this should be in a list format
pkgs_extra:
- postgresql-contrib
- postgresql-plpython
pg_hba.conf: salt://postgres/pg_hba.conf
users:
localUser:
ensure: present
@@ -78,3 +85,4 @@ postgres:
postgresconf: |
listen_addresses = 'localhost,*'
# vim: ft=yaml:sw=2