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:
|
redis-config:
|
||||||
file.managed:
|
file.managed:
|
||||||
- name: /etc/redis/redis.conf
|
- name: /etc/redis/redis.conf
|
||||||
- source: salt://redis/templates/redis.conf.j2
|
- source: salt://redis/templates/redis.conf.j2
|
||||||
- user: root
|
- user: redis
|
||||||
- group: root
|
- group: redis
|
||||||
- mode: 0640
|
- mode: 0644
|
||||||
- template: jinja
|
- template: jinja
|
||||||
- watch_in:
|
- watch_in:
|
||||||
- service: redis-service
|
- service: redis-service
|
||||||
|
Loading…
Reference in New Issue
Block a user