mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-16 09:40:26 +00:00
40 lines
922 B
YAML
40 lines
922 B
YAML
# Default lookup dictionary
|
|
|
|
postgres:
|
|
use_upstream_repo: True
|
|
version: '9.5'
|
|
pkg: postgresql
|
|
pkgs_extra: []
|
|
pkg_client: postgresql-client
|
|
pkg_dev: postgresql-devel
|
|
pkg_libpq_dev: postgresql-libs
|
|
python: python-psycopg2
|
|
user: postgres
|
|
group: postgres
|
|
|
|
prepare_cluster:
|
|
command: initdb --pgdata=/var/lib/pgsql/data
|
|
test: test -f /var/lib/pgsql/data/PG_VERSION
|
|
user: postgres
|
|
env: {}
|
|
|
|
conf_dir: /var/lib/pgsql/data
|
|
postgresconf: ""
|
|
postgresconf_backup: '.bak'
|
|
|
|
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']
|
|
|
|
service: postgresql
|
|
|
|
users: {}
|
|
tablespaces: {}
|
|
databases: {}
|
|
schemas: {}
|
|
extensions: {}
|