saltstack/salt — pull request #12280 by steverweber (2014-04-25 01:22:46+00:00)
Title: Minion restart if master is not responding

if master is not responding to minion, it could be because the master changed IP addresses.
this fix alows the minion to restart if the master is not accessible after a /somewhat/ configurable amount of time.
restarting the minion will cause the master dns ip address to be resolved and eventual successful connection.

minion config should have something like:
auth_timeout_count_max: 10
restart_on_error: True
hartbeat_wait_time: 2400

these settings will have minions reconnecting to master after a DDNS change in about ~30min avg.