sensu-redis.json.j2 343 B

1234567891011121314
  1. {
  2. "redis": {
  3. {% if sensu_redis_password %}
  4. "password": "{{ sensu_redis_password }}",
  5. {% endif %}
  6. {% if sensu_redis_sentinels %}
  7. "sentinels": {{ sensu_redis_sentinels | to_nice_json }},
  8. "master": "{{ sensu_redis_master_name }}"
  9. {% else %}
  10. "host": "{{ sensu_redis_host }}",
  11. "port": {{ sensu_redis_port }}
  12. {% endif %}
  13. }
  14. }