also create a db for the user
Signed-off-by: Nico Schottelius <nico@wurzel.schottelius.org>
This commit is contained in:
parent
28d90e021f
commit
0ba003cfba
1 changed files with 3 additions and 0 deletions
3
manifest
3
manifest
|
@ -63,6 +63,9 @@ postgres_server="postgresql-${postgres_version}"
|
||||||
require="__package/$postgres_server" __postgres_role "$user" \
|
require="__package/$postgres_server" __postgres_role "$user" \
|
||||||
--state present --login --createdb
|
--state present --login --createdb
|
||||||
|
|
||||||
|
require="__package/$postgres_server" __postgres_database \
|
||||||
|
"$user" --state present --owner "$user"
|
||||||
|
|
||||||
__package "$postgres_server" --state present
|
__package "$postgres_server" --state present
|
||||||
|
|
||||||
require="__package/$postgres_server" __start_on_boot postgresql
|
require="__package/$postgres_server" __start_on_boot postgresql
|
||||||
|
|
Loading…
Reference in a new issue