saltstack/salt — pull request #12231 by steverweber (2014-04-23 14:54:58+00:00)
Title: minions auto recover after DNS ip address change. [DDNS]

DO NOT PULL. USE AS REF.

Minions currently don't seem to support Masters changing ip address. I did some previous work in the authenticate method but there is still issues... https://github.com/saltstack/salt/pull/11663

This patch causes the minion to restart after 500 seconds if the master 'seems' to be gone.
Once the minion restarts it will resolve its DNS again and have the correct IP address.

This commit is not to be pulled! Someone more in tune with the minion tune_in code should handle this.

Thanks