keepalived: Fix track_* option in vrrp_instance defn
authorBen Kelly <ben@benjii.net>
Mon, 29 Aug 2016 12:40:33 +0000 (15:40 +0300)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Sat, 31 Dec 2016 10:31:40 +0000 (12:31 +0200)
commit37d9426ac5baacbf9f8223f29935f9828290c66f
tree096c6ce7198c3f2e3779f31f56fe49b2a8c37a08
parenta883235e138bf06b508e3e3cdf03bddc7eeec361
keepalived: Fix track_* option in vrrp_instance defn

Also fix ordering of config stanzas

We were parsing the track_script and track_interface definitions to
include the weight param when configuring a vrrp_instance. This is not
correct, as the weight param inside a vrrp instance is used to augment
the one defined in the script.

We were also not taking into account vrrp_script stanzas

This commit skips the parsing and simply lists the name of the
track/vrrp object

Signed-off-by: Ben Kelly <ben@benjii.net>
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
net/keepalived/files/keepalived.init