eventscripts: 13.per_ip_routing should not try hard to find public_addresses
commit4eed91b54a2c374a06c2275cbd8d4a50abbe9cdd
authorMartin Schwenke <martin@meltin.net>
Tue, 18 Jun 2013 05:02:05 +0000 (18 15:02 +1000)
committerMartin Schwenke <martin@meltin.net>
Thu, 20 Jun 2013 03:01:10 +0000 (20 13:01 +1000)
tree23af3dc38422cda255018916ca06ffdb4e320596
parent2ceed3b0c817b4ed86363c7e0eef94d7cb33a5a2
eventscripts: 13.per_ip_routing should not try hard to find public_addresses

This essentially reverts d4621277240721e6d130a930b0100506b64467ea.
This was added for testing but the test code was actually broken.
CTDB itself will only process public IPs if $CTDB_PUBLIC_ADDRESSES is
set, so no code should try to be more flexible than that!

The test code has been fixed instead.

Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 3b11b27f3e22e99947bc2d6c49c4427bd7a0e332)
ctdb/config/events.d/13.per_ip_routing