Merge pull request #228 from noelmcloughlin/confdata1

Allow conf/data directory separation
This commit is contained in:
Niels Abspoel
2018-06-20 10:46:26 +02:00
committed by GitHub
6 changed files with 44 additions and 35 deletions

View File

@@ -16,12 +16,13 @@ postgres:
group: postgres
prepare_cluster:
command: initdb --pgdata=/var/lib/pgsql/data
test: test -f /var/lib/pgsql/data/PG_VERSION
pgcommand: initdb -D
pgtestfile: PG_VERSION
user: postgres
env: []
conf_dir: /var/lib/pgsql/data
data_dir: /var/lib/pgsql/data
conf_dir_mode: '0700'
postgresconf: ""