saltstack/salt — pull request #12197 by cachedout (2014-04-22 21:06:07+00:00)
Title: Add function to delete a minion cache with relative safety.

This closes #6947.

While a minion will most certainly become unstable if the directory structure for its cache is pulled out from under it, removing only the files is relatively safe in my testing and made available via saltutil because it's often useful to have, if only for debugging.

Regardless, this function includes a warning about the safest way to accomplish this task in production.