keepalived-formula/pillar.example

42 lines
748 B
Plaintext
Raw Normal View History

2015-07-30 08:55:31 +02:00
#
# Example pillar configuration
#
keepalived:
global_defs:
2015-10-07 23:13:44 +02:00
notification_emails:
2015-07-30 08:55:31 +02:00
- alerts@example.com
smtp_server: 'mymail.example.com'
smtp_connect_timeout: 30
vrrp_scripts:
chk_haproxy:
script: "killall -0 haproxy"
interval: 2
vrrp_instances:
testhaproxy:
interface: eth0
priority: 10
virtual_router_id: 01
smtp_alert: True
authentication:
auth_type: PASS
auth_pass: topsecret
virtual_ipaddresses:
- "10.20.30.40"
- "10.20.30.41"
- "10.20.30.42"
track_scripts:
- chk_haproxy
#
# Example Addition Pillar for Master
#
keepalived:
vrrp_instances:
testhaproxy:
state: MASTER
priority: 101