2016-09-23 17:50:57 +03:00
|
|
|
# Default lookup dictionary
|
|
|
|
|
2015-04-22 17:47:02 -05:00
|
|
|
postgres:
|
2016-09-23 17:50:57 +03:00
|
|
|
use_upstream_repo: True
|
|
|
|
version: '9.5'
|
2015-04-22 17:47:02 -05:00
|
|
|
pkg: postgresql
|
2016-09-20 15:44:49 +03:00
|
|
|
pkgs_extra: []
|
|
|
|
pkg_client: postgresql-client
|
2015-04-22 17:47:02 -05:00
|
|
|
pkg_dev: postgresql-devel
|
2018-03-20 14:15:44 +00:00
|
|
|
pkg_libpq_dev: libpq-dev
|
|
|
|
pkg_libs: postgresql-libs
|
|
|
|
pkg_python: python-psycopg2
|
|
|
|
userhomes: /home
|
2016-09-06 12:34:17 +03:00
|
|
|
user: postgres
|
|
|
|
group: postgres
|
2016-12-19 12:29:14 +02:00
|
|
|
|
|
|
|
prepare_cluster:
|
2017-01-03 11:54:00 +02:00
|
|
|
command: initdb --pgdata=/var/lib/pgsql/data
|
2016-12-19 12:29:14 +02:00
|
|
|
test: test -f /var/lib/pgsql/data/PG_VERSION
|
2017-01-03 11:54:00 +02:00
|
|
|
user: postgres
|
2018-01-22 14:06:03 +00:00
|
|
|
env: []
|
2016-12-19 12:29:14 +02:00
|
|
|
|
2015-04-22 17:47:02 -05:00
|
|
|
conf_dir: /var/lib/pgsql/data
|
2018-05-03 17:24:59 +02:00
|
|
|
conf_dir_mode: '0700'
|
2016-12-19 12:29:14 +02:00
|
|
|
postgresconf: ""
|
|
|
|
|
2018-03-08 11:41:19 +00:00
|
|
|
macos:
|
|
|
|
archive: postgres.dmg
|
|
|
|
tmpdir: /tmp/postgrestmp
|
|
|
|
postgresapp:
|
|
|
|
#See: https://github.com/PostgresApp/PostgresApp/releases/
|
|
|
|
url: https://github.com/PostgresApp/PostgresApp/releases/download/v2.1.1/Postgres-2.1.1.dmg
|
|
|
|
sum: sha256=ac0656b522a58fd337931313f09509c09610c4a6078fe0b8e469e69af1e1750b
|
|
|
|
homebrew:
|
|
|
|
url:
|
|
|
|
sum:
|
|
|
|
dl:
|
|
|
|
opts: -s -L
|
|
|
|
interval: 60
|
|
|
|
retries: 2
|
|
|
|
|
2016-09-06 12:34:17 +03:00
|
|
|
pg_hba.conf: salt://postgres/templates/pg_hba.conf.j2
|
|
|
|
acls:
|
|
|
|
# "local" is for Unix domain socket connections only
|
|
|
|
- ['local', 'all', 'all', 'peer']
|
|
|
|
# IPv4 local connections:
|
|
|
|
- ['host', 'all', 'all', '127.0.0.1/32', 'md5']
|
|
|
|
# IPv6 local connections:
|
|
|
|
- ['host', 'all', 'all', '::1/128', 'md5']
|
2016-12-19 12:29:14 +02:00
|
|
|
|
2018-01-16 19:17:44 +01:00
|
|
|
pg_ident.conf: salt://postgres/templates/pg_ident.conf.j2
|
|
|
|
identity_map: []
|
|
|
|
|
2017-01-13 12:09:45 +02:00
|
|
|
config_backup: '.bak'
|
|
|
|
|
2016-09-06 12:34:17 +03:00
|
|
|
service: postgresql
|
2016-12-19 12:29:14 +02:00
|
|
|
|
2017-01-07 15:11:26 +02:00
|
|
|
bake_image: False
|
|
|
|
|
2018-04-09 14:59:49 +01:00
|
|
|
fromrepo:
|
|
|
|
|
2015-04-22 17:47:02 -05:00
|
|
|
users: {}
|
2015-04-24 13:15:59 -05:00
|
|
|
tablespaces: {}
|
2016-09-09 11:36:26 +03:00
|
|
|
databases: {}
|
|
|
|
schemas: {}
|
|
|
|
extensions: {}
|
2018-01-14 16:12:17 +00:00
|
|
|
|
|
|
|
linux:
|
|
|
|
#Alternatives system are disabled by a 'altpriority=0' pillar.
|
|
|
|
altpriority:
|