From 4e6071183f9f9ae1cade7d2b8daa27bd97be81ed Mon Sep 17 00:00:00 2001 From: mwiegand Date: Wed, 20 Oct 2021 23:53:48 +0200 Subject: [PATCH] wip --- bundles/redis/items.py | 2 -- bundles/redis/metadata.py | 1 - 2 files changed, 3 deletions(-) diff --git a/bundles/redis/items.py b/bundles/redis/items.py index 1d69726..e557d09 100644 --- a/bundles/redis/items.py +++ b/bundles/redis/items.py @@ -7,7 +7,6 @@ directories = { }, '/var/lib/redis': { 'owner': 'redis', - 'purge': True, 'needs': [ 'pkg_apt:redis-server', ], @@ -33,7 +32,6 @@ svc_systemd = { }, } - for name, conf in node.metadata.get('redis').items(): files[f'/etc/redis/{name}.conf'] = { 'content': '\n'.join( diff --git a/bundles/redis/metadata.py b/bundles/redis/metadata.py index 15ab1c2..702ff51 100644 --- a/bundles/redis/metadata.py +++ b/bundles/redis/metadata.py @@ -153,7 +153,6 @@ def units(metadata): 'RestrictAddressFamilies': 'AF_INET AF_INET6 AF_UNIX', 'ProtectSystem': 'true', - 'ReadWriteDirectories': '-/etc/redis', }, 'Install': { 'WantedBy': {'multi-user.target'},