21 lines
465 B
Text
21 lines
465 B
Text
consul:
|
|
service: true
|
|
config:
|
|
server: true
|
|
bind_addr: 0.0.0.0
|
|
enable_debug: true
|
|
datacenter: eu
|
|
encrypt: "RIxqpNlOXqtr/j4BgvIMEw=="
|
|
bootstrap_expect: 3
|
|
retry_interval: 15s
|
|
retry_join:
|
|
- 1.1.1.1
|
|
- 2.2.2.2
|
|
register:
|
|
- name: Redis
|
|
checks:
|
|
- script: /opt/consul/check_redis.py
|
|
interval: 10s
|
|
scripts:
|
|
- source: salt://files/consul/check_redis.py
|
|
name: /opt/consul/check_redis.py
|