saltstack/salt — pull request #14632 by techhat (2014-07-30 13:21:17+00:00)
Title: Example should clean up after itself

This was pointed out by a student. If the file already exists (because this test has been run before, as it would be) then this command will just overwrite the file with the same data, and not perform a valid disk check.

Obviously, in production there should be a more solid way of performing both this test and the resolution (for instance, in an event reactor), but this should suffice for the example.