postgres-formula/postgres/defaults.yaml
Brian Glogower feb2b386ce
Allow setting dir mode for conf_dir in pillar
The current mode of 0775 causes start problems:

`FATAL:  data directory "/var/lib/postgresql/9.6/main" has group or world access`
2018-03-31 13:03:16 -07:00

68 lines
1.6 KiB
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: libpq-dev
pkg_libs: postgresql-libs
pkg_python: python-psycopg2
userhomes: /home
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
conf_dir_mode: 0775
postgresconf: ""
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
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']
pg_ident.conf: salt://postgres/templates/pg_ident.conf.j2
identity_map: []
config_backup: '.bak'
service: postgresql
bake_image: False
users: {}
tablespaces: {}
databases: {}
schemas: {}
extensions: {}
linux:
#Alternatives system are disabled by a 'altpriority=0' pillar.
altpriority: