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', ], }, },