From 78047da04affdbb6b1fe7c204cb3d1ccd239636a Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Mon, 9 Nov 2020 16:37:00 +0100 Subject: [PATCH] bundles/postgresql: only install packages after we have a zfs dataset --- bundles/postgresql/items.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bundles/postgresql/items.py b/bundles/postgresql/items.py index 94c7d04..3e59f7f 100644 --- a/bundles/postgresql/items.py +++ b/bundles/postgresql/items.py @@ -8,6 +8,12 @@ if node.has_bundle('zfs'): pkg_apt['postgresql-11']['needs'] = { '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 = { 'root': {