gvasalt/roots/redis-server/init.sls
Jan Dittberner b5e28bf507 Switch result backend to redis
The AMQP result backend proved as impractical, this commit switches to
redis instead. The redis server is setup on the webinterface host but
can be configured on another host.
2016-01-31 21:08:32 +01:00

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