Jan Dittberner
3fd146215f
This commit renames the roots directory to states because it contains salt states.
21 lines
380 B
Text
21 lines
380 B
Text
redis-server:
|
|
pkg:
|
|
- installed
|
|
service.running:
|
|
- enable: true
|
|
- require:
|
|
- pkg: redis-server
|
|
|
|
python-redis:
|
|
pkg.installed:
|
|
- reload_modules: true
|
|
|
|
/etc/redis/redis.conf:
|
|
file.managed:
|
|
- source: salt://redis-server/redis.conf
|
|
- template: jinja
|
|
- user: root
|
|
- group: root
|
|
- mode: 0644
|
|
- watch_in:
|
|
- service: redis-server
|