eventscripts: NAT gateway script doesn't need to handle "recovered" event
authorMartin Schwenke <martin@meltin.net>
Thu, 17 Oct 2013 05:17:26 +0000 (16:17 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 22 Oct 2013 03:34:05 +0000 (14:34 +1100)
commit3132550a8838a4c81a55c62737c9e1b25540c768
treebc6fbead7fdeec9c99fdd5fc1eacb1fa11020895
parent5369f711dc08fedee28107fe461cc61884e2ff01
eventscripts: NAT gateway script doesn't need to handle "recovered" event

Any time a node changes flags in any significant way there will be a
takeover run, which will generate an "ipreallocated" event.  The
"recovered" event always happens straight after a takeover run so we
update the NAT gateway twice.

Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 542c70d6281d636ecd51502fbbf219f418bfac66)
ctdb/config/events.d/11.natgw