From 84e583f8a4e6f3db429b3d1852fd1665f4228514 Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Fri, 23 Jun 2023 08:10:03 +0200 Subject: [PATCH] redis: create redis user in client --- seed/redis-client/applicationservice.yml | 2 ++ seed/redis-client/dictionaries/23_redis.xml | 6 ++-- .../manual/image/preinstall/redis.sh | 1 - .../templates/redis-client.service | 4 +-- seed/redis-common/applicationservice.yml | 3 ++ .../dictionaries/90_redis-common.xml | 8 +++++ .../manual/image/preinstall/redis-common.sh | 0 .../templates/sysuser-redis.conf | 0 seed/redis/applicationservice.yml | 3 +- seed/redis/dictionaries/90_redis.xml | 7 ++--- seed/redis/extras/account/00_account.xml | 17 ----------- seed/redis/extras/accounts/00_accounts.xml | 0 seed/redis/funcs/redis.py | 8 +++++ .../manual/image/preinstall/redis-server.sh | 1 - seed/redis/templates/redis.conf | 29 +++++++++++-------- seed/redis/templates/redis.yml | 10 +++++-- 16 files changed, 56 insertions(+), 43 deletions(-) delete mode 100644 seed/redis-client/manual/image/preinstall/redis.sh create mode 100644 seed/redis-common/applicationservice.yml create mode 100644 seed/redis-common/dictionaries/90_redis-common.xml create mode 100644 seed/redis-common/manual/image/preinstall/redis-common.sh rename seed/{redis => redis-common}/templates/sysuser-redis.conf (100%) delete mode 100644 seed/redis/extras/account/00_account.xml create mode 100644 seed/redis/extras/accounts/00_accounts.xml create mode 100644 seed/redis/funcs/redis.py delete mode 100644 seed/redis/manual/image/preinstall/redis-server.sh diff --git a/seed/redis-client/applicationservice.yml b/seed/redis-client/applicationservice.yml index b1d9b0fd..7c180ed2 100644 --- a/seed/redis-client/applicationservice.yml +++ b/seed/redis-client/applicationservice.yml @@ -1,3 +1,5 @@ format: '0.1' description: Application service needs interact with a Redis server website: https://redis.io/ +depends: + - redis-common diff --git a/seed/redis-client/dictionaries/23_redis.xml b/seed/redis-client/dictionaries/23_redis.xml index 823457f2..bf72ab3f 100644 --- a/seed/redis-client/dictionaries/23_redis.xml +++ b/seed/redis-client/dictionaries/23_redis.xml @@ -1,15 +1,17 @@ - + redis - + +