From 579264ad938f36f0a51608a94ecc21aa695df44a Mon Sep 17 00:00:00 2001 From: Paul Date: Sat, 31 Aug 2024 08:22:26 +0200 Subject: [PATCH] updated redis state --- states/redis/config.sls | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/states/redis/config.sls b/states/redis/config.sls index 35100cf..e7df9de 100644 --- a/states/redis/config.sls +++ b/states/redis/config.sls @@ -1,11 +1,18 @@ --- +redis-config-dir: + file.directory: + - name: /etc/redis + - user: redis + - group: redis + - mode: 0755 + redis-config: file.managed: - name: /etc/redis/redis.conf - source: salt://redis/templates/redis.conf.j2 - - user: root - - group: root - - mode: 0640 + - user: redis + - group: redis + - mode: 0644 - template: jinja - watch_in: - service: redis-service