saltstack/salt-contrib — pull request #18 by bclermont (2012-11-18 15:03:58+00:00)
Title: Remove caching

If you take an Amazon instance and stop it (not terminate).
And you start it, it's IP change, but this cache file is not invalidated.

As I don't have a cross-platform way to get the OS uptime (maybe it's available in psutil) and remove the file if it's older than the uptime, I prefer to remove this code to make sure no one else hit this issue.