diff --git a/states/email/rspamd.sls b/states/email/rspamd.sls index 015fc3d..c653b41 100644 --- a/states/email/rspamd.sls +++ b/states/email/rspamd.sls @@ -12,6 +12,10 @@ rspamd: - name: rspamd - fromrepo: bullseye +redis_server: + pkg.installed: + - name: redis-server + rspamd_conf: file.recurse: - name: /etc/rspamd/local.d @@ -26,3 +30,10 @@ rspamd_service: - watch: - pkg: rspamd - file: /etc/rspamd/local.d + +redis_service: + service.running: + - name: redis-server + - enable: true + - watch: + - pkg: redis-server