From e184259c376651cd3f1828a0cdc35abbe4b43ec4 Mon Sep 17 00:00:00 2001 From: mwiegand Date: Wed, 20 Oct 2021 22:39:59 +0200 Subject: [PATCH] wip --- bundles/redis/items.py | 5 +++++ bundles/redis/metadata.py | 1 + 2 files changed, 6 insertions(+) create mode 100644 bundles/redis/items.py diff --git a/bundles/redis/items.py b/bundles/redis/items.py new file mode 100644 index 0000000..f36b11b --- /dev/null +++ b/bundles/redis/items.py @@ -0,0 +1,5 @@ +directories = { + '/var/lib/redis': { + 'owner': 'redis', + }, +} diff --git a/bundles/redis/metadata.py b/bundles/redis/metadata.py index 52f5d2e..15f46f7 100644 --- a/bundles/redis/metadata.py +++ b/bundles/redis/metadata.py @@ -18,6 +18,7 @@ if node.has_bundle('zfs'): 'mountpoint': '/var/lib/redis', 'needed_by': [ 'pkg_apt:redis-server', + 'directory:/var/lib/redis', ], }, },