paulbsd-salt/states/redis/config.sls

21 lines
398 B
Plaintext
Raw Normal View History

2024-08-31 08:09:33 +02:00
---
2024-08-31 08:22:26 +02:00
redis-config-dir:
file.directory:
- name: /etc/redis
- user: redis
- group: redis
- mode: 0755
2024-08-31 08:09:33 +02:00
redis-config:
file.managed:
- name: /etc/redis/redis.conf
- source: salt://redis/templates/redis.conf.j2
2024-08-31 08:22:26 +02:00
- user: redis
- group: redis
- mode: 0644
2024-08-31 08:09:33 +02:00
- template: jinja
- watch_in:
- service: redis-service
- require:
- pkg: redis-install