Class: EtcdTools::Watchdog::HAproxy
- Inherits:
-
Init
- Object
- Init
- EtcdTools::Watchdog::HAproxy
show all
- Defined in:
- lib/etcd-tools/watchdog/haproxy.rb
Instance Method Summary
collapse
Methods inherited from Init
#initialize, #setup
Methods included from Threads
#thread_etcd, #thread_icmp
Methods included from Util::Etcd
#etcd_connect!, #leader?
#arp, #arping, #hostname, #iproute
#debug, #err, #info
Instance Method Details
#generate_config ⇒ Object
15
16
|
# File 'lib/etcd-tools/watchdog/haproxy.rb', line 15
def generate_config
end
|
#reload_haproxy ⇒ Object
18
19
|
# File 'lib/etcd-tools/watchdog/haproxy.rb', line 18
def reload_haproxy
end
|
#run ⇒ Object
9
10
11
12
13
|
# File 'lib/etcd-tools/watchdog/haproxy.rb', line 9
def run
while @etcd.watch(@config[:haproxy_cfg]) do
end
end
|