saltstack/salt — pull request #13064 by garethgreenaway (2014-05-28 00:43:29+00:00)
Title: Adding check_cmd support to file.managed state

Adding check_cmd support to file.managed state. check_cmd, run the state only if the check_cmd succeeds, can be used to verify a configuration file is in the correct state before putting it in place.