formula-consul/pillar.example
2015-10-22 21:04:02 +03:00

22 lines
489 B
Plaintext

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: /usr/local/share/consul/check_redis.py
interval: 10s
scripts:
- source: salt://files/consul/check_redis.py
name: /usr/local/share/consul/check_redis.py