Correct requirements

This commit is contained in:
Nico Schottelius 2019-01-21 16:50:33 +01:00
parent 63bbd5228a
commit 6ba778c95e

View file

@ -1,6 +1,6 @@
#!/bin/sh
#
# 2013-2015 ungleich GmbH (cdist at ungleich.ch)
# 2013-2019 ungleich glarus ag (cdist at ungleich.ch)
#
# This file is part of cdist.
#
@ -66,7 +66,7 @@ postgres_server="postgresql-${postgres_version}"
require="__package/$postgres_server" __postgres_role "$user" \
--state present --login --createdb
require="__package/$postgres_server" __postgres_database \
require="__package/$postgres_server __postgres_role/$user" __postgres_database \
"$user" --state present --owner "$user"
__package "$postgres_server" --state present