From 0ba003cfbafa896493d75ab82bdec67698b26989 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 14 May 2015 11:48:55 +0200 Subject: [PATCH] also create a db for the user Signed-off-by: Nico Schottelius --- manifest | 3 +++ 1 file changed, 3 insertions(+) diff --git a/manifest b/manifest index 0beb6d3..b862f5e 100644 --- a/manifest +++ b/manifest @@ -63,6 +63,9 @@ postgres_server="postgresql-${postgres_version}" require="__package/$postgres_server" __postgres_role "$user" \ --state present --login --createdb +require="__package/$postgres_server" __postgres_database \ + "$user" --state present --owner "$user" + __package "$postgres_server" --state present require="__package/$postgres_server" __start_on_boot postgresql