- Added initdb_user configuration, renamed postgres_user and postgres_group to user and group

- Corrected inadvertent changes to postgres_user
- Fixed postgres_user
- Explicitly list the grain that we're filtering by even though it's
  default
- Place *BSD user and runas into osmap instead of hardcoding
This commit is contained in:
Tim Goodaire
2016-05-23 12:19:32 -05:00
committed by Tim Goodaire
parent 61acd4fd75
commit 8a4eb569f4
4 changed files with 18 additions and 20 deletions

View File

@@ -1,7 +1,7 @@
RedHat:
init_db: True
commands:
initdb: sudo -u postgres initdb /var/lib/pgsql/data
initdb: initdb /var/lib/pgsql/data
pkg: postgresql-server
pkg_client: postgresql
pkg_repo: pgdg94
@@ -12,6 +12,10 @@ Debian:
pkg_libpq_dev: libpq-dev
Suse:
commands:
initdb: sudo -u postgres initdb /var/lib/pgsql/data
initdb: initdb /var/lib/pgsql/data
pkg: postgresql-server
pkg_client: postgresql
FreeBSD:
user: pgsql
OpenBSD:
user: _postgresql