formula-consul/pillar.example

28 lines
495 B
Plaintext
Raw Normal View History

2015-10-07 14:18:22 -04:00
consul:
service: true
2015-10-22 15:29:19 -04:00
2015-10-07 15:02:53 -04:00
config:
server: true
bind_addr: 0.0.0.0
2015-10-22 15:29:19 -04:00
2015-10-08 08:26:43 -04:00
enable_debug: true
2015-10-22 15:29:19 -04:00
2015-10-08 07:49:10 -04:00
datacenter: eu
2015-10-22 15:29:19 -04:00
2015-10-08 08:26:43 -04:00
encrypt: "RIxqpNlOXqtr/j4BgvIMEw=="
2015-10-22 15:29:19 -04:00
2015-10-08 08:26:43 -04:00
bootstrap_expect: 3
retry_interval: 15s
retry_join:
- 1.1.1.1
- 2.2.2.2
2015-10-22 15:29:19 -04:00
2015-10-09 17:39:53 -04:00
register:
- name: Redis
checks:
2015-10-22 14:04:02 -04:00
- script: /usr/local/share/consul/check_redis.py
2015-10-09 17:39:53 -04:00
interval: 10s
2015-10-09 18:13:15 -04:00
scripts:
- source: salt://files/consul/check_redis.py
2015-10-22 14:04:02 -04:00
name: /usr/local/share/consul/check_redis.py