From 772302211be3807d515d81c824e63bea7e468ac8 Mon Sep 17 00:00:00 2001 From: Noel McLoughlin Date: Sat, 23 Sep 2017 22:58:29 +0100 Subject: [PATCH] Darwin support --- postgres/osmap.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/postgres/osmap.yaml b/postgres/osmap.yaml index 9160d61..602fdb6 100644 --- a/postgres/osmap.yaml +++ b/postgres/osmap.yaml @@ -96,10 +96,13 @@ Suse: pkg_libpq_dev: postgresql MacOS: + service: postgres pkg: postgres + conf_dir: /usr/local/var/postgres prepare_cluster: + command: initdb -D /usr/local/var/postgres/ + test: test -f /usr/local/var/postgres/PG_VERSION user: _postgres - #binpath: /usr/local/bin # vim: ft=sls