This commit is contained in:
parent
a1685d7998
commit
579264ad93
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user