mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-16 09:40:26 +00:00

The reworks in merge #110 broke this formulas kitchen based specs. This MR changes a few minor things, mostly pillar.example and other inconsistent documentations. Also, the use of db_user for `postgres_tablespace.present` and `postgres_database.present` now fits the states options, as db_password etc can be specified as well.
29 lines
711 B
YAML
29 lines
711 B
YAML
postgres:
|
|
pkg: postgresql
|
|
pkg_dev: postgresql-devel
|
|
pkg_libpq_dev: postgresql-libs
|
|
pkg_client: postgresql-client
|
|
python: python-psycopg2
|
|
service: postgresql
|
|
conf_dir: /var/lib/pgsql/data
|
|
use_upstream_repo: False
|
|
users: {}
|
|
acls: []
|
|
databases: {}
|
|
tablespaces: {}
|
|
postgresconf_backup: True
|
|
postgresconf: ""
|
|
pg_hba.conf: salt://postgres/pg_hba.conf
|
|
user: postgres
|
|
group: postgres
|
|
# if prepare_cluster is over-ridden in any of:
|
|
# - osmap.yaml
|
|
# - oscodenamemap.yaml
|
|
# - osfingermap.yaml
|
|
# you will have to specify a complete dictionary.
|
|
prepare_cluster:
|
|
user: root
|
|
command: service postgresql initdb
|
|
test: test -f /var/lib/pgsql/data/PG_VERSION
|
|
env: {}
|
|
|