redis: distinction between main and master password

This commit is contained in:
Jérémy Lecour 2018-12-21 11:08:18 +01:00 committed by Jérémy Lecour
parent 776839fe61
commit 3b63172532
3 changed files with 7 additions and 1 deletions

View File

@ -15,6 +15,7 @@ The **patch** part changes incrementally at each release.
* redis: Configure munin when working in instance mode
### Changed
* redis: distinction between main and master password
### Fixed
* nginx: Munin url config is now a template to insert the server-status prefix

View File

@ -8,7 +8,10 @@ redis_unixsocket: '/var/run/redis/redis.sock'
redis_pidfile: "/var/run/redis/{{ redis_daemon }}.pid"
redis_timeout: 300
# for client authorization
redis_password: NULL
# for slave authorization on master
redis_password_master: "{{ redis_password }}"
redis_loglevel: "notice"
redis_logfile: /var/log/redis/redis-server.log

View File

@ -9,7 +9,9 @@ unixsocket {{ redis_unixsocket }}
{% if redis_password %}
requirepass {{ redis_password }}
masterauth {{ redis_password }}
{% endif %}
{% if redis_password_master %}
masterauth {{ redis_password_master }}
{% endif %}
timeout {{ redis_timeout }}