bundles/postgresql: only install packages after we have a zfs dataset

This commit is contained in:
Franzi 2020-11-09 16:37:00 +01:00
parent 5bd642236c
commit 78047da04a
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -8,6 +8,12 @@ if node.has_bundle('zfs'):
pkg_apt['postgresql-11']['needs'] = { pkg_apt['postgresql-11']['needs'] = {
'zfs_dataset:tank/postgresql', 'zfs_dataset:tank/postgresql',
} }
pkg_apt['postgresql-client-11']['needs'] = {
'zfs_dataset:tank/postgresql',
}
pkg_apt['postgresql-server-dev-11']['needs'] = {
'zfs_dataset:tank/postgresql',
}
postgres_roles = { postgres_roles = {
'root': { 'root': {