saltstack/salt — pull request #1701 by epoelke (2012-07-26 17:48:00+00:00)
Title: add file_exists and directory_exists to file module

add two new functions to the file module, file_exists and directory_exists. Both functions return true/false if path is a valid directory or file.